From 9a719489c595aad3649f97a0d15200b252ca61c3 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 16 Jan 2021 16:14:51 +0000 Subject: [PATCH] Target active --- bridge_master.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bridge_master.py b/bridge_master.py index 0a0eac9..da29392 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1257,10 +1257,10 @@ class routerHBP(HBSYSTEM): _sysIgnore = sysIgnore for _target in BRIDGES[_bridge]: #if _target['SYSTEM'] != self._system or (_target['SYSTEM'] == self._system and _target['TS'] != _slot): - if _target['SYSTEM'] != self._system: - if _target['ACTIVE']: - _target_status = systems[_target['SYSTEM']].STATUS - _target_system = self._CONFIG['SYSTEMS'][_target['SYSTEM']] + if _target['SYSTEM'] != self._system and _target['ACTIVE']: + #if _target['ACTIVE']: + _target_status = systems[_target['SYSTEM']].STATUS + _target_system = self._CONFIG['SYSTEMS'][_target['SYSTEM']] if (_target['SYSTEM'],_target['TS']) in _sysIgnore: #logger.debug("(DEDUP) HBP Source - Skipping system %s TS: %s",_target['SYSTEM'],_target['TS'])