This commit is contained in:
ayte 2022-03-17 13:51:47 +01:00
parent 50be8878d5
commit 76dd758a2c
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ def getrooms(datet, links=[],min_occur=3) :
# Récupération des informations sur l'EDT téléchargé :
cals = []
for i in links :
cals.append(icalendar.Calendar.from_ical(sched_get(datet, link = i))
cals.append(icalendar.Calendar.from_ical(sched_get(datet, link = i)))
if len(links) == 0 : # Par défaut, ne mets pas de lien, ce qui retourne celui de l'UFR
cals = [icalendar.Calendar.from_ical(sched_get(datet))]