From f70d482478664cc024d82cc0544378d77addf176 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 11 Oct 2019 17:29:13 +0100 Subject: [PATCH] tagDict --- inbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inbox.py b/inbox.py index 662127c5..bf07fdee 100644 --- a/inbox.py +++ b/inbox.py @@ -1379,7 +1379,7 @@ def inboxUpdateCalendar(baseDir: str,handle: str,postJsonObject: {}) -> None: continue # get the year and month from the event eventTime= \ - datetime.datetime.strptime(tag['startTime'], \ + datetime.datetime.strptime(tagDict['startTime'], \ "%Y-%m-%dT%H:%M:%SZ") eventYear=int(eventTime.strftime("%Y")) eventMonthNumber=int(eventTime.strftime("%m"))