Fix EventLocation ref
This commit is contained in:
parent
0f47a0326f
commit
66e797b4d8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue