Fix trimmer

topo
Simon 3 years ago
parent 48c520c863
commit 4dc9f817a7

@ -556,7 +556,7 @@ def topoTrimmer():
for _src in TOPO:
_dstrem = []
for _dst in TOPO[_src]:
if TOPO[_src][_dst]['time'] - + _now > 1800:
if _now - TOPO[_src][_dst]['time'] > 1800:
_dstrem.append(_dst)
for _remove in _dstrem:
TOPO[_src].pop(_remove)

Loading…
Cancel
Save

Powered by TurnKey Linux.