diff options
author | Alban Gruin | 2017-11-16 19:01:27 +0100 |
---|---|---|
committer | Alban Gruin | 2017-11-16 19:01:27 +0100 |
commit | daa18b5fdc0284202f0efeefe562db2edc9f191f (patch) | |
tree | fd7fe03e3accb301a6111770220a6e1e0fe4746d /management/commands/_private.py | |
parent | 111c0fcba0692d175e42258f9aa814de6a2bb1ff (diff) | |
parent | b2c14a2db9b79dca007db5e32aefbf76ebd05fd1 (diff) |
Merge branch 'stable/0.11.z' into prod/pa1ch/0.11.zv0.11.2-pa1ch
Diffstat (limited to 'management/commands/_private.py')
-rw-r--r-- | management/commands/_private.py | 2 |
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 |