Notification file for calendar

main2
Bob Mottram 2019-10-12 17:05:45 +01:00
parent 472f7945e9
commit 5979591ad2
1 changed files with 1 additions and 1 deletions

View File

@ -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()