[B.END] Changed line terminator

For some dark reason, rebuilding the python image running this
service has changed the caldav line endings from \r\n to \n.

No time to investigate at the moment, temporary fix.
This commit is contained in:
giuliof 2023-01-16 22:45:48 +01:00
parent 94bd891942
commit 0257a4bf7a
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ def getEvents(baseDay, interval):
event_dict = {}
for item in event.split('\r\n'):
for item in event.split('\n'):
# ignore empty lines
if len(item) == 0:
continue