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 = \
baseDir + '/accounts/' + handle + '/.newCalendar'
with open(calendarNotificationFilename, 'w+') as calendarNotificationFile:
calendarNotificationFile.write('/calendar?year=' +
str(eventYear) +
'?month=' +
str(eventMonthNumber) +
'?day=' +
str(eventDayOfMonth))
notifyStr = \
'/calendar?year=' + str(eventYear) + '?month=' + \
str(eventMonthNumber) + '?day=' + str(eventDayOfMonth)
calendarNotificationFile.write(notifyStr)
return True