merge-requests/30/head
Bob Mottram 2022-02-21 17:17:07 +00:00
parent 3ce5cc963f
commit aa1bda4a70
1 changed files with 2 additions and 1 deletions

View File

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