diff --git a/bridge_master.py b/bridge_master.py index e94a322..7d79405 100644 --- a/bridge_master.py +++ b/bridge_master.py @@ -762,7 +762,7 @@ def options_config(): _options[k] = v logger.debug('(OPTIONS) Options found for %s',_system) - if '_default_options' not in CONFIG['SYSTEMS'][_system] and CONFIG['SYSTEMS'][_system]['_default_options'] != CONFIG['SYSTEMS'][_system]['OPTIONS']: + if '_default_options' in CONFIG['SYSTEMS'][_system] and CONFIG['SYSTEMS'][_system]['_default_options'] != CONFIG['SYSTEMS'][_system]['OPTIONS']: if _options_key in CONFIG['SYSTEMS'][_system] and CONFIG['SYSTEMS'][_system]['_options_key'] and 'KEY' in _options and CONFIG['SYSTEMS'][_system]['_options_key'] != _options['KEY']: logger.warning('(OPTIONS) for system %s, options key does not match, ignoring',_system) continue