2
0
Fork 0

Fix shift import for multi-word room names

This commit is contained in:
Luca 2022-05-16 08:24:19 +02:00
parent 2d699c8a69
commit 7a9e51704d
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def import_calendar(calendar):
required_helpers = 0 required_helpers = 0
else: else:
try: try:
room, required_helpers = tuple(summary.split()) room, required_helpers = tuple(summary.rsplit(maxsplit=1))
required_helpers = int(required_helpers) required_helpers = int(required_helpers)
except ValueError: except ValueError:
room = summary room = summary