From c06cc1b6c8be680bcadce2815d1d03a4b340a159 Mon Sep 17 00:00:00 2001 From: Matthew Hague <matthew.hague@rhul.ac.uk> Date: Wed, 19 Mar 2025 14:56:56 +0000 Subject: [PATCH] add(timetable): add new room column name to timetable-ics --- timetabling/timetable-ics.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/timetabling/timetable-ics.py b/timetabling/timetable-ics.py index ee7391b..133beda 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") -- GitLab