diff options
Diffstat (limited to 'management/commands/timetables.py')
-rw-r--r-- | management/commands/timetables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/management/commands/timetables.py b/management/commands/timetables.py index c18db9e..89f9c1f 100644 --- a/management/commands/timetables.py +++ b/management/commands/timetables.py @@ -70,6 +70,6 @@ class Command(BaseCommand): try: process_timetable(timetable, year, weeks) except Exception as e: - self.stderr.write(self.style.error("Failed to process {0}: {1}".format(timetable, e))) + self.stderr.write(self.style.ERROR("Failed to process {0}: {1}".format(timetable, e))) self.stdout.write(self.style.SUCCESS("Done.")) |