diff --git a/cctv-scheduler.py b/cctv-scheduler.py index fa95fa3..ddc497d 100644 --- a/cctv-scheduler.py +++ b/cctv-scheduler.py @@ -145,7 +145,7 @@ class Parse: for line in strings.replace('\n', ';').split(';'): if not line.lstrip().startswith('#') and "=" in line: dictionary[line.split('=')[0].strip()] = ( - line.split('=')[1].strip().split(';')[0].strip() + line.split('=', maxsplit=1)[1].strip().split(';')[0].strip() ) return dictionary