aboutsummaryrefslogtreecommitdiff
path: root/management/commands
diff options
context:
space:
mode:
Diffstat (limited to 'management/commands')
-rw-r--r--management/commands/timetables.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/management/commands/timetables.py b/management/commands/timetables.py
index b254788..ff00c8f 100644
--- a/management/commands/timetables.py
+++ b/management/commands/timetables.py
@@ -136,6 +136,8 @@ class Command(BaseCommand):
try:
process_timetable(timetable, options["force"], year, weeks)
+ except KeyboardInterrupt:
+ break
except Exception:
self.stderr.write(
self.style.ERROR("Failed to process {0}:".format(timetable))