mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
f7ab9733e9
commit
500e72f064
10
happening.py
10
happening.py
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue