mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
Code improvements
This commit is contained in:
parent
813ca3eb82
commit
a33b32436d
1 changed files with 0 additions and 1 deletions
|
@ -54,7 +54,6 @@ def populate_subjects(sender, **kwargs):
|
||||||
if shortname != None:
|
if shortname != None:
|
||||||
# If course already exists with relevant info, skip over it
|
# If course already exists with relevant info, skip over it
|
||||||
if (Course.objects.filter(name=filename, shortname=shortname).exists()):
|
if (Course.objects.filter(name=filename, shortname=shortname).exists()):
|
||||||
|
|
||||||
existing_courses += 1
|
existing_courses += 1
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue