From c671fc9d6d10ba0725e1e004d931dd0a319cc431 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 9 Apr 2021 02:35:38 +0100 Subject: [PATCH] count outside loop on extra --- bridge_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge_master.py b/bridge_master.py index 37e4c83..9e9b9c8 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1267,10 +1267,10 @@ class routerOBP(OPENBRIDGE): # Loop Control _removeextra1 = [] + _count = 0 for system in systems: if system == self._system: continue - _count = 0 if CONFIG['SYSTEMS'][system]['MODE'] == 'OPENBRIDGE': if _stream_id in systems[system].STATUS and '1ST' in systems[system].STATUS[_stream_id]: _count = _count + 1