aboutsummaryrefslogtreecommitdiff
path: root/management/commands/_private.py
diff options
context:
space:
mode:
authorAlban Gruin2017-11-26 18:27:55 +0100
committerAlban Gruin2017-11-26 18:27:55 +0100
commit772caa72ce7f80bfeb5fbb1d05b57838dafd48c3 (patch)
tree00482ecc09db0eefd0617c6f9225b7c3e6f96161 /management/commands/_private.py
parentffffd9842dbaba0b0e89ff5f434f45792e2b73b6 (diff)
parent4998865c2d5e94c53547e44aed1dc825163c0c4a (diff)
Merge branch 'stable/0.12.z' into prod/pa1ch/0.y.zv0.12.0-pa1ch
Diffstat (limited to 'management/commands/_private.py')
-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