Line endings

merge-requests/30/head
Bob Mottram 2022-02-21 11:51:43 +00:00
parent e30d3b6352
commit e7a931ec75
1 changed files with 2 additions and 2 deletions

View File

@ -415,8 +415,8 @@ def get_month_events_icalendar(base_dir: str, nickname: str, domain: str,
curr_month_number) curr_month_number)
ical_str = \ ical_str = \
'BEGIN:VCALENDAR\n' + \ 'BEGIN:VCALENDAR\n' + \
'PRODID:-//Fediverse//NONSGML Epicyon//EN' + \ 'PRODID:-//Fediverse//NONSGML Epicyon//EN\n' + \
'VERSION:2.0' 'VERSION:2.0\n'
if not events: if not events:
ical_str += 'END:VCALENDAR\n' ical_str += 'END:VCALENDAR\n'
return ical_str return ical_str