fix vauleerror
This commit is contained in:
parent
0e5e91850c
commit
c49a7cb279
@ -535,7 +535,11 @@ def options_config():
|
|||||||
if 'OPTIONS' in CONFIG['SYSTEMS'][_system]:
|
if 'OPTIONS' in CONFIG['SYSTEMS'][_system]:
|
||||||
_options = {}
|
_options = {}
|
||||||
for x in CONFIG['SYSTEMS'][_system]['OPTIONS'].split(";"):
|
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
|
_options[k] = v
|
||||||
logger.debug('(OPTIONS) Options found for %s',_system)
|
logger.debug('(OPTIONS) Options found for %s',_system)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user