Skip to content

Commit

Permalink
Update registrarimport.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mureytasroc committed Jan 3, 2024
1 parent 32b8c82 commit ad1300d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/courses/management/commands/registrarimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def registrar_import(semester=None, query=""):
recompute_parent_courses(semesters=[semester], verbose=True)
recompute_soft_state(semesters=[semester], verbose=True)

if registrar_import.endswith("C"):
if semester.endswith("C"):
# Make sure to load in summer course data as well
# (cron job only does current semester, which is either fall or spring)
registrar_import(semester=semester[:-1] + "B", query=query)
Expand Down

0 comments on commit ad1300d

Please sign in to comment.