diff --git a/timetabling/timetable-ics.py b/timetabling/timetable-ics.py index ee7391bd2f242d1803003a930943fd2110e3e39b..133bedaca19685edb4f3a15a3542ae6faf702f4a 100644 --- a/timetabling/timetable-ics.py +++ b/timetabling/timetable-ics.py @@ -124,8 +124,10 @@ for ttfile in timetable_files: location = "" if "PROVISIONAL Location Name" in row: location = row["PROVISIONAL Location Name"] + if "Required Location Names" in row: + location = row["Required Location Names"] if "Required Location Name" in row: - location = row["PROVISIONAL Location Name"] + location = row["Required Location Name"] if day is None: print("Could not find timetabled day column, aborting")