Remove sent from calendar notification before using it

main2
Bob Mottram 2019-10-12 15:46:32 +01:00
parent 60655ffefe
commit 472f7945e9
1 changed files with 1 additions and 1 deletions

View File

@ -2109,7 +2109,7 @@ def htmlTimeline(translate: {},pageNumber: int, \
if os.path.isfile(calendarFile):
calendarImage='calendar_notify.png'
with open(calendarFile, 'r') as calfile:
calendarPath=calfile.read().replace('\n', '')
calendarPath=calfile.read().replace('##sent##','').replace('\n', '')
# should the DM button be highlighted?
newDM=False