fix issue on no title
This commit is contained in:
parent
5ca5ba644c
commit
5508274df7
@ -119,7 +119,7 @@ class iCalendar:
|
|||||||
|
|
||||||
events = (
|
events = (
|
||||||
{
|
{
|
||||||
'title': events.get('SUMMARY').lstrip(),
|
'title': events.get('SUMMARY').lstrip() if events.get('SUMMARY') else "",
|
||||||
|
|
||||||
'begin': arrow.get(events.get('DTSTART').dt).to(timezone) if (
|
'begin': arrow.get(events.get('DTSTART').dt).to(timezone) if (
|
||||||
arrow.get(events.get('dtstart').dt).format('HH:mm') != '00:00')
|
arrow.get(events.get('dtstart').dt).format('HH:mm') != '00:00')
|
||||||
|
Loading…
Reference in New Issue
Block a user