From 8bfaba3ed1105c5343cdbfefb0cca1203d876328 Mon Sep 17 00:00:00 2001 From: Txrpe Date: Mon, 18 Nov 2024 20:43:54 +0100 Subject: [PATCH] remove hardcoded event location --- prep.py | 1 + template/event.ical | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/prep.py b/prep.py index 8867bb5..7d052f4 100755 --- a/prep.py +++ b/prep.py @@ -107,6 +107,7 @@ 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) events_ical += event_template # Footer diff --git a/template/event.ical b/template/event.ical index 3d43a18..f8ad7cd 100644 --- a/template/event.ical +++ b/template/event.ical @@ -6,7 +6,7 @@ DTSTART;TZID=Europe/Belgrade: DTEND;TZID=Europe/Belgrade: GEO:+44.805613;+20.479234 LAST-MODIFIED: -LOCATION:DC Krov\, Kraljice Marije 47\, 6\, Beograd\, Serbia +LOCATION: STATUS:CONFIRMED SUMMARY: URL;TYPE=URI: