Merge branch 'main' of gitlab.com:bashrc2/epicyon

merge-requests/30/head
Bob Mottram 2022-02-13 15:09:36 +00:00
commit 55e7a1f83e
1 changed files with 2 additions and 0 deletions

View File

@ -474,6 +474,8 @@ def html_timeline(css_cache: {}, default_timeline: str,
with open(calendar_file, 'r') as calfile:
calendar_path = calfile.read().replace('##sent##', '')
calendar_path = calendar_path.replace('\n', '').replace('\r', '')
if '/calendar' not in calendar_path:
calendar_path = '/calendar'
# should the DM button be highlighted?
new_dm = False