thanks for issue https://github.com/SpudGunMan/meshing-around/issues/291
This commit is contained in:
Kelly
2026-02-26 20:22:53 -08:00
parent 2f6abade80
commit 0fb351ef4d
+9 -4
View File
@@ -136,11 +136,16 @@ class HamTest:
# remove the game[id] from the list
del self.game[id]
# remove the id from the hamtestTracker list if it exists
if id in hamtestTracker:
hamtestTracker.remove(id)
# hamtestTracker stores dicts like {"nodeID": nodeID, ...}
for i in range(len(hamtestTracker)):
try:
if hamtestTracker[i].get('nodeID') == id:
hamtestTracker.pop(i)
break
except Exception:
continue
return msg
hamtestTracker = []
hamtest = HamTest()