aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Gruin2017-10-22 12:56:04 +0200
committerAlban Gruin2017-10-22 12:56:04 +0200
commit98dcf30970f3861924f4203269b82b22554184ba (patch)
tree8063cc441f75c7aa31834a9cc64f31b8180aeaaf
parentd4dd17cc3ef13f2322ccab292fb6bc544c753f49 (diff)
parent5cc4cf9183cb7bd3ab13e7bfb18af8e2b2b35efb (diff)
Merge branch 'stable/0.10.z' into prod/pa1ch/0.10.zv0.10.6-pa1chprod/pa1ch/0.10.z
-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 3b6a164..44e9936 100644
--- a/management/commands/_private.py
+++ b/management/commands/_private.py
@@ -106,7 +106,7 @@ def get_event(timetable, event, event_week, today):
# On récupère le nom du cours et le champ « remarque »
if event.resources.module is not None:
course.name = event.resources.module.item.text
- if course.notes is not None:
+ if event.notes is not None:
course.notes = event.notes.text
elif event.resources.module is None and event.notes is not None: