Line endings

main
Bob Mottram 2022-02-21 11:45:29 +00:00
parent 2b74e71ea9
commit 0dea3f3034
1 changed files with 2 additions and 2 deletions

View File

@ -385,8 +385,8 @@ def get_todays_events_icalendar(base_dir: str, nickname: str, domain: str,
year, month_number, day_number) year, month_number, day_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