[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:
parent
94bd891942
commit
0257a4bf7a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue