aboutsummaryrefslogtreecommitdiff
path: root/management/commands
diff options
context:
space:
mode:
Diffstat (limited to 'management/commands')
-rw-r--r--management/commands/timetables.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/management/commands/timetables.py b/management/commands/timetables.py
index e82fd55..76f0a7c 100644
--- a/management/commands/timetables.py
+++ b/management/commands/timetables.py
@@ -50,6 +50,9 @@ def process_timetable_week(timetable, soup, weeks_in_soup, force, year=None, wee
for course in get_events(timetable, soup, weeks_in_soup, year, week):
course.save()
+ timetable.last_update_date = new_update_date
+ timetable.save()
+
def process_timetable(timetable, force, year=None, weeks=None):
soup = get_xml(timetable.url)
weeks_in_soup = get_weeks(soup)