remove hardcoded event location
This commit is contained in:
parent
cc7765ef2f
commit
8bfaba3ed1
1
prep.py
1
prep.py
@ -107,6 +107,7 @@ def build_ical(events: list[dict]) -> str:
|
|||||||
event_template = event_template.replace("<!--DATE-->", date)
|
event_template = event_template.replace("<!--DATE-->", date)
|
||||||
event_template = event_template.replace("<!--TITLE-->", title)
|
event_template = event_template.replace("<!--TITLE-->", title)
|
||||||
event_template = event_template.replace("<!--URL-->", url)
|
event_template = event_template.replace("<!--URL-->", url)
|
||||||
|
event_template = event_template.replace("<!--LOCATION-->", location)
|
||||||
|
|
||||||
events_ical += event_template
|
events_ical += event_template
|
||||||
# Footer
|
# Footer
|
||||||
|
@ -6,7 +6,7 @@ DTSTART;TZID=Europe/Belgrade:<!--DATE-->
|
|||||||
DTEND;TZID=Europe/Belgrade:<!--DATE-->
|
DTEND;TZID=Europe/Belgrade:<!--DATE-->
|
||||||
GEO:+44.805613;+20.479234
|
GEO:+44.805613;+20.479234
|
||||||
LAST-MODIFIED:<!--CREATED-->
|
LAST-MODIFIED:<!--CREATED-->
|
||||||
LOCATION:DC Krov\, Kraljice Marije 47\, 6\, Beograd\, Serbia
|
LOCATION:<!--LOCATION-->
|
||||||
STATUS:CONFIRMED
|
STATUS:CONFIRMED
|
||||||
SUMMARY:<!--TITLE-->
|
SUMMARY:<!--TITLE-->
|
||||||
URL;TYPE=URI:<!--URL-->
|
URL;TYPE=URI:<!--URL-->
|
||||||
|
Loading…
Reference in New Issue
Block a user