From 472f7945e92a97a87f8431d9e8d2f4463ff9fa22 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 Oct 2019 15:46:32 +0100 Subject: [PATCH] Remove sent from calendar notification before using it --- webinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index f14a77402..b3932171b 100644 --- a/webinterface.py +++ b/webinterface.py @@ -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