merge-requests/30/head
Bob Mottram 2021-07-03 19:00:31 +01:00
parent f7ab9733e9
commit 500e72f064
1 changed files with 4 additions and 6 deletions

View File

@ -132,12 +132,10 @@ def saveEventPost(baseDir: str, handle: str, postId: str,
calendarNotificationFilename = \ calendarNotificationFilename = \
baseDir + '/accounts/' + handle + '/.newCalendar' baseDir + '/accounts/' + handle + '/.newCalendar'
with open(calendarNotificationFilename, 'w+') as calendarNotificationFile: with open(calendarNotificationFilename, 'w+') as calendarNotificationFile:
calendarNotificationFile.write('/calendar?year=' + notifyStr = \
str(eventYear) + '/calendar?year=' + str(eventYear) + '?month=' + \
'?month=' + str(eventMonthNumber) + '?day=' + str(eventDayOfMonth)
str(eventMonthNumber) + calendarNotificationFile.write(notifyStr)
'?day=' +
str(eventDayOfMonth))
return True return True