diff --git a/prep.py b/prep.py index 7d052f4b..d2922943 100755 --- a/prep.py +++ b/prep.py @@ -107,7 +107,13 @@ def build_ical(events: list[dict]) -> str: event_template = event_template.replace("", date) event_template = event_template.replace("", title) event_template = event_template.replace("", url) - event_template = event_template.replace("", location) + if location.startswith("DC Krov"): + event_template = event_template.replace("", "DC Krov\\, Kraljice Marije 47\\, 6\\, Beograd\\, Serbia") + elif location.startswith("Matematički fakultet (Učionica 153)"): + event_template = event_template.replace("", "Matematički fakultet\\, Svetog Nikole 39\\, Beograd\\, Serbia") + else: + event_template = event_template.replace("", "") + events_ical += event_template # Footer