From 66e797b4d8a58c5e4c1219a2e862ad5c4383f10e Mon Sep 17 00:00:00 2001 From: polyfloyd Date: Sun, 15 Sep 2024 22:35:59 +0200 Subject: [PATCH] Fix EventLocation ref --- calendarparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendarparser.py b/calendarparser.py index eaf18fe..4c0beeb 100755 --- a/calendarparser.py +++ b/calendarparser.py @@ -53,7 +53,7 @@ for page_path, value in events['results'].items(): event.add('dtstart', start_time) event.add('dtend', end_time) event.add('url', value['fullurl']) - event['location'] = icalendar.vText(value['printouts']['Event location'][0]['fulltext']) + event['location'] = icalendar.vText(value['printouts']['EventLocation'][0]['fulltext']) if len(value['printouts']['Status']) != 0: # a status is defined, see if we can parse it to a status as per RFC5545 3.8.1.11