renderlib: Don't depend on attributes optional in schedule.xml

This commit is contained in:
Florian Zeitz 2019-11-07 17:52:42 +01:00
parent b1b14c5a48
commit 51d0765ed8

View file

@ -300,7 +300,7 @@ def events(scheduleUrl, titlemap={}):
subtitle = '' subtitle = ''
# yield a tupel with the event-id, event-title and person-names # yield a tupel with the event-id, event-title and person-names
yield { yield {
'day': day.attrib['index'], 'day': day.get('index'),
'id': id, 'id': id,
'title': title, 'title': title,
'subtitle': subtitle, 'subtitle': subtitle,