aboutsummaryrefslogtreecommitdiff
path: root/management
diff options
context:
space:
mode:
Diffstat (limited to 'management')
-rw-r--r--management/commands/timetables.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/management/commands/timetables.py b/management/commands/timetables.py
index 809b600..c18db9e 100644
--- a/management/commands/timetables.py
+++ b/management/commands/timetables.py
@@ -31,6 +31,7 @@ def process_timetable_week(timetable, year, week, soup, weeks_in_soup):
last_update.date = date
except:
last_update = LastUpdate(timetable=timetable, year=year, week=week, date=date)
+ finally:
last_update.save()
def process_timetable(timetable, year, weeks):