fix vauleerror

master
Simon 6 years ago
parent fff6ad8ae6
commit a996b658ed

@ -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…
Cancel
Save

Powered by TurnKey Linux.