Fix statTrimmer

This commit is contained in:
Simon 2021-01-16 12:05:09 +00:00
parent a355f5bf3b
commit 117ab55358

View File

@ -360,7 +360,7 @@ def statTrimmer():
if _system['TO_TYPE'] == 'STAT':
_bridge_stat = True
if _bridge_stat:
_remove_bridges.append(_system)
_remove_bridges.append(_bridge)
for _bridgerem in _remove_bridges:
del BRIDGES[_bridgerem]
logger.debug('(ROUTER) STAT bridge %s removed',_bridgerem)