From 191e9cd13104aec1829692a4e6ba505913b062e8 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 25 Jul 2022 01:27:26 +0100 Subject: [PATCH] bzong --- bridge_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge_master.py b/bridge_master.py index 7d79405..7f19823 100644 --- a/bridge_master.py +++ b/bridge_master.py @@ -763,7 +763,7 @@ def options_config(): logger.debug('(OPTIONS) Options found for %s',_system) 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']: + 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