fix vauleerror

This commit is contained in:
Simon 2020-12-27 17:44:10 +00:00
parent 0e5e91850c
commit c49a7cb279
1 changed files with 5 additions and 1 deletions

View File

@ -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)