aboutsummaryrefslogtreecommitdiff
path: root/management/commands
diff options
context:
space:
mode:
authorAlban Gruin2017-11-16 19:01:27 +0100
committerAlban Gruin2017-11-16 19:01:27 +0100
commitdaa18b5fdc0284202f0efeefe562db2edc9f191f (patch)
treefd7fe03e3accb301a6111770220a6e1e0fe4746d /management/commands
parent111c0fcba0692d175e42258f9aa814de6a2bb1ff (diff)
parentb2c14a2db9b79dca007db5e32aefbf76ebd05fd1 (diff)
Merge branch 'stable/0.11.z' into prod/pa1ch/0.11.zv0.11.2-pa1ch
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