diff options
author | Alban Gruin | 2017-02-09 11:45:28 +0100 |
---|---|---|
committer | Alban Gruin | 2017-02-09 11:45:28 +0100 |
commit | 6838cae8953e5bb15ed0c087d9cf8802ac49b5ec (patch) | |
tree | bc44de9fbc851eb223c439e1e864110080a898d5 /management/commands | |
parent | ef3d37c4be68e9055e099e955cbdc7934a6d0b65 (diff) |
Correction de l'affichage des erreurs de la commande timetables
Diffstat (limited to 'management/commands')
-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.")) |