count outside loop on extra

pypy
Simon 5 years ago
parent 9a3e5fbde4
commit c671fc9d6d

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.