From c49a7cb2799cf92c76ced3a0d5da99df14b7c4d1 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 27 Dec 2020 17:44:10 +0000 Subject: [PATCH] fix vauleerror --- bridge_master.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bridge_master.py b/bridge_master.py index 4cf5c89..75c19ed 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -535,7 +535,11 @@ def options_config(): if 'OPTIONS' in CONFIG['SYSTEMS'][_system]: _options = {} for x in CONFIG['SYSTEMS'][_system]['OPTIONS'].split(";"): - k,v = x.split('=') + try: + k,v = x.split('=') + except ValueError: + logger.debug('(OPTIONS) Value error %s ignoring',_system) + continue _options[k] = v logger.debug('(OPTIONS) Options found for %s',_system)