diff --git a/app/scodoc/sco_edt_cal.py b/app/scodoc/sco_edt_cal.py index 7f60dda93..eaa172a0f 100644 --- a/app/scodoc/sco_edt_cal.py +++ b/app/scodoc/sco_edt_cal.py @@ -55,6 +55,7 @@ def formsemestre_load_calendar( """Load ics data, return raw ics and decoded calendar. Raises ScoValueError if not configured or not available or invalid format. """ + edt_ids = [] if edt_id is None and formsemestre: edt_ids = formsemestre.get_edt_ids() if not edt_ids: