remove hardcoded event location

This commit is contained in:
Txrpe 2024-11-18 20:43:54 +01:00
parent cc7765ef2f
commit 8bfaba3ed1
2 changed files with 2 additions and 1 deletions

View File

@ -107,6 +107,7 @@ def build_ical(events: list[dict]) -> str:
event_template = event_template.replace("<!--DATE-->", date)
event_template = event_template.replace("<!--TITLE-->", title)
event_template = event_template.replace("<!--URL-->", url)
event_template = event_template.replace("<!--LOCATION-->", location)
events_ical += event_template
# Footer

View File

@ -6,7 +6,7 @@ DTSTART;TZID=Europe/Belgrade:<!--DATE-->
DTEND;TZID=Europe/Belgrade:<!--DATE-->
GEO:+44.805613;+20.479234
LAST-MODIFIED:<!--CREATED-->
LOCATION:DC Krov\, Kraljice Marije 47\, 6\, Beograd\, Serbia
LOCATION:<!--LOCATION-->
STATUS:CONFIRMED
SUMMARY:<!--TITLE-->
URL;TYPE=URI:<!--URL-->