diff --git a/shiftregister/importer/importer.py b/shiftregister/importer/importer.py index 7496c80..f006417 100644 --- a/shiftregister/importer/importer.py +++ b/shiftregister/importer/importer.py @@ -41,7 +41,7 @@ def import_calendar(calendar): required_helpers = 0 else: try: - room, required_helpers = tuple(summary.split()) + room, required_helpers = tuple(summary.rsplit(maxsplit=1)) required_helpers = int(required_helpers) except ValueError: room = summary