From 17b69689303c126914a6b71019850e7b8f9d3e4e Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 11 Apr 2021 21:18:37 +0100 Subject: [PATCH] Comment extra loop (load inducing?) --- bridge_master.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/bridge_master.py b/bridge_master.py index 5db954b..ac3dd41 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1266,19 +1266,19 @@ class routerOBP(OPENBRIDGE): return # Loop Control - _removeextra1 = [] - _count = 0 - for system in systems: - if system == self._system: - continue - if CONFIG['SYSTEMS'][system]['MODE'] == 'OPENBRIDGE': - if _stream_id in systems[system].STATUS and '1ST' in systems[system].STATUS[_stream_id]: - _count = _count + 1 - if _count > 1: - logger.warning('Extra') - _removeextra1.append(system) - for remove in _removeextra1: - del systems[remove].STATUS[_stream_id]['1ST'] + #_removeextra1 = [] + #_count = 0 + #for system in systems: + #if system == self._system: + #continue + #if CONFIG['SYSTEMS'][system]['MODE'] == 'OPENBRIDGE': + #if _stream_id in systems[system].STATUS and '1ST' in systems[system].STATUS[_stream_id]: + #_count = _count + 1 + #if _count > 1: + #logger.warning('Extra') + #_removeextra1.append(system) + #for remove in _removeextra1: + #del systems[remove].STATUS[_stream_id]['1ST'] for system in systems: if system == self._system: