Simon 2 years ago
parent a402d424cb
commit 92c14de40a

@ -833,7 +833,7 @@ def options_config():
elif CONFIG['SYSTEMS'][_system]['_opt_key'] != _options['KEY']: elif CONFIG['SYSTEMS'][_system]['_opt_key'] != _options['KEY']:
logger.info('(OPTIONS) %s, options key set but key sent does not match, skipping',_system) logger.info('(OPTIONS) %s, options key set but key sent does not match, skipping',_system)
continue continue
elif _options['KEY']: elif 'KEY' in _options and _options['KEY']:
logger.info('(OPTIONS) %s, _opt_key not set but key sent. Setting to sent key',_system) logger.info('(OPTIONS) %s, _opt_key not set but key sent. Setting to sent key',_system)
CONFIG['SYSTEMS'][_system]['_opt_key'] = _options['KEY'] CONFIG['SYSTEMS'][_system]['_opt_key'] = _options['KEY']
else: else:

Loading…
Cancel
Save

Powered by TurnKey Linux.