merge-requests/30/head
Bob Mottram 2022-02-21 16:59:38 +00:00
parent afba6a4364
commit 3ce5cc963f
1 changed files with 1 additions and 0 deletions

View File

@ -392,6 +392,7 @@ def get_todays_events_icalendar(base_dir: str, nickname: str, domain: str,
'BEGIN:VCALENDAR\n' + \ 'BEGIN:VCALENDAR\n' + \
'PRODID:-//Fediverse//NONSGML Epicyon//EN\n' + \ 'PRODID:-//Fediverse//NONSGML Epicyon//EN\n' + \
'VERSION:2.0\n' 'VERSION:2.0\n'
print('icalendar daily: ' + str(events))
if not events: if not events:
ical_str += 'END:VCALENDAR\n' ical_str += 'END:VCALENDAR\n'
return ical_str return ical_str