|
|
|
@ -35,7 +35,7 @@ def import_calendar(calendar):
|
|
|
|
|
if not summary:
|
|
|
|
|
continue
|
|
|
|
|
if location is not None:
|
|
|
|
|
location = location.decode()
|
|
|
|
|
location = location.decode().strip()
|
|
|
|
|
|
|
|
|
|
if location:
|
|
|
|
|
room = location
|
|
|
|
@ -43,6 +43,7 @@ def import_calendar(calendar):
|
|
|
|
|
try:
|
|
|
|
|
# new edge case: location is defined, but summary contains an addition to the location and a count
|
|
|
|
|
room2, required_helpers = tuple(summary.rsplit(maxsplit=1))
|
|
|
|
|
room2 = room2.strip()
|
|
|
|
|
required_helpers = int(required_helpers)
|
|
|
|
|
room = f"{room} ({room2})"
|
|
|
|
|
except ValueError:
|
|
|
|
|