Fix shift import for multi-word room names
This commit is contained in:
parent
2d699c8a69
commit
7a9e51704d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue