From 3f280d4f6b7276fcfa09e0cb0c0ef704e9362f9a Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 23 Aug 2022 20:37:01 +0100 Subject: [PATCH] Fix bug --- bridge_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge_master.py b/bridge_master.py index d6ac15f..eaecc45 100644 --- a/bridge_master.py +++ b/bridge_master.py @@ -946,7 +946,7 @@ def options_config(): if CONFIG['SYSTEMS'][_system]['TS2_STATIC']: ts2 = CONFIG['SYSTEMS'][_system]['TS2_STATIC'].split(',') for tg in ts2: - if not tg or int(tg) == 0 or int(tg) >= 16777215 or tg == _options['DEFAULT_REFLECTOR'] or tg in ts1: + if not tg or int(tg) == 0 or int(tg) >= 16777215 or tg == _options['DEFAULT_REFLECTOR'] or (tg and tg in ts1): logger.debug('(OPTIONS) %s not setting TS2 Static %s. Bad TG or conflict with DIAL or TS1',_system,tg) continue tg = int(tg)