aboutsummaryrefslogtreecommitdiff
path: root/management/commands
diff options
context:
space:
mode:
authorAlban Gruin2017-11-25 14:14:15 +0100
committerAlban Gruin2017-11-25 14:14:15 +0100
commitdf5ef1a932170d55623bf0469ef56c5af9e62fa3 (patch)
tree0654acc200ee9de2c107762457d3b8b3a10ebfb3 /management/commands
parent4619a385336119b20276454264d2eaf9f6ae5995 (diff)
parentadad24ace9ab47f12d43dca494b358544beefa00 (diff)
Merge branch 'master' into futur
Diffstat (limited to 'management/commands')
-rw-r--r--management/commands/_private.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/management/commands/_private.py b/management/commands/_private.py
index b663454..4dd9262 100644
--- a/management/commands/_private.py
+++ b/management/commands/_private.py
@@ -54,7 +54,7 @@ def get_event(timetable, event, event_week, today):
end = add_time(date, event.endtime.text)
# On ne traite pas le cours si il commence après le moment du traitement
- if begin < today:
+ if today is not None and begin < today:
return
# Création de l’objet cours