aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Gruin2017-02-09 11:45:28 +0100
committerAlban Gruin2017-02-09 11:45:28 +0100
commit6838cae8953e5bb15ed0c087d9cf8802ac49b5ec (patch)
treebc44de9fbc851eb223c439e1e864110080a898d5
parentef3d37c4be68e9055e099e955cbdc7934a6d0b65 (diff)
Correction de l'affichage des erreurs de la commande timetables
-rw-r--r--management/commands/timetables.py2
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."))