aboutsummaryrefslogtreecommitdiff
path: root/management/commands/_private.py
diff options
context:
space:
mode:
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 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: