mirror of https://gitlab.com/bashrc2/epicyon
Line endings
parent
2b74e71ea9
commit
0dea3f3034
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue