forked from platypush/platypush
FIX: The CN of the organizer may not necessarily be set in calendar.ical
This commit is contained in:
parent
94bb3e0541
commit
71cb73cf63
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class CalendarIcalPlugin(Plugin, CalendarInterface):
|
|||
'htmlLink': str(event.get('url')) if event.get('url') else None,
|
||||
'organizer': {
|
||||
'email': str(event.get('organizer')).replace('MAILTO:', ''),
|
||||
'displayName': event.get('organizer').params['cn']
|
||||
'displayName': event.get('organizer').params.get('cn')
|
||||
} if event.get('organizer') else None,
|
||||
|
||||
'created': cls._convert_timestamp(event, 'created'),
|
||||
|
|
Loading…
Reference in a new issue