From 5979591ad2efdbd4f53da8eb1ab1fa2b15d20642 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 Oct 2019 17:05:45 +0100 Subject: [PATCH] Notification file for calendar --- inbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inbox.py b/inbox.py index 8d38ce2d9..5a4ace84e 100644 --- a/inbox.py +++ b/inbox.py @@ -1437,7 +1437,7 @@ def inboxUpdateCalendar(baseDir: str,handle: str,postJsonObject: {}) -> None: calendarFile.write(postId+'\n') calendarFile.close() calendarNotificationFilename=baseDir+'/accounts/'+handle+'/.newCalendar' - calendarNotificationFile=open(calendarFilename,'w') + calendarNotificationFile=open(calendarNotificationFilename,'w') if calendarNotificationFile: calendarNotificationFile.write('/calendar?year='+str(eventYear)+'?month='+str(eventMonthNumber)+'?day='+str(eventDayOfMonth)) calendarNotificationFile.close()