From a33b32436d6df387c09e16d08bbbbdf89c59aaa9 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sun, 23 Jul 2023 23:24:30 +0800 Subject: [PATCH] Code improvements --- stude/courses/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/stude/courses/models.py b/stude/courses/models.py index 0f0ae1b..622a816 100644 --- a/stude/courses/models.py +++ b/stude/courses/models.py @@ -54,7 +54,6 @@ def populate_subjects(sender, **kwargs): if shortname != None: # If course already exists with relevant info, skip over it if (Course.objects.filter(name=filename, shortname=shortname).exists()): - existing_courses += 1 continue