Get start time of event

main2
Bob Mottram 2019-10-11 17:16:56 +01:00
parent 93105821a0
commit da7d9b4ea4
2 changed files with 9 additions and 9 deletions

View File

@ -1375,7 +1375,7 @@ def inboxUpdateCalendar(baseDir: str,handle: str,postJsonObject: {}) -> None:
for tagDict in postJsonObject['object']['tag']:
if tagDict['type']!='Event':
continue
if not tagDict['type'].get('startTime'):
if not tagDict.get('startTime'):
continue
# get the year and month from the event
eventTime= \