forked from indymedia/epicyon
Notification file for calendar
parent
472f7945e9
commit
5979591ad2
2
inbox.py
2
inbox.py
|
@ -1437,7 +1437,7 @@ def inboxUpdateCalendar(baseDir: str,handle: str,postJsonObject: {}) -> None:
|
||||||
calendarFile.write(postId+'\n')
|
calendarFile.write(postId+'\n')
|
||||||
calendarFile.close()
|
calendarFile.close()
|
||||||
calendarNotificationFilename=baseDir+'/accounts/'+handle+'/.newCalendar'
|
calendarNotificationFilename=baseDir+'/accounts/'+handle+'/.newCalendar'
|
||||||
calendarNotificationFile=open(calendarFilename,'w')
|
calendarNotificationFile=open(calendarNotificationFilename,'w')
|
||||||
if calendarNotificationFile:
|
if calendarNotificationFile:
|
||||||
calendarNotificationFile.write('/calendar?year='+str(eventYear)+'?month='+str(eventMonthNumber)+'?day='+str(eventDayOfMonth))
|
calendarNotificationFile.write('/calendar?year='+str(eventYear)+'?month='+str(eventMonthNumber)+'?day='+str(eventDayOfMonth))
|
||||||
calendarNotificationFile.close()
|
calendarNotificationFile.close()
|
||||||
|
|
Loading…
Reference in New Issue