renderlib: Don't depend on attributes optional in schedule.xml
This commit is contained in:
parent
b1b14c5a48
commit
51d0765ed8
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue