From 8e5f4f6830432c37fce6f00a29ef6942341703ec Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 22 Jul 2021 00:50:54 +0100 Subject: [PATCH] Fix logic error --- bridge_master.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bridge_master.py b/bridge_master.py index ea40d70..a1929b3 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1397,9 +1397,9 @@ class routerOBP(OPENBRIDGE): #LoopControl hr_times = {} for system in systems: - if system == self._system: - continue - if CONFIG['SYSTEMS'][system]['MODE'] != 'OPENBRIDGE': + # if system == self._system: + # continue + if system != self._system CONFIG['SYSTEMS'][system]['MODE'] != 'OPENBRIDGE': for _sysslot in systems[system].STATUS: if 'RX_STREAM_ID' in systems[system].STATUS[_sysslot] and _stream_id == systems[system].STATUS[_sysslot]['RX_STREAM_ID']: if 'LOOPLOG' not in self.STATUS[_stream_id] or not self.STATUS[_stream_id]['LOOPLOG']: