Revert "Stop that annoying keyerror - HB3XPL ;-)"

This reverts commit 28eeab388c.
This commit is contained in:
Simon 2021-05-08 16:47:11 +01:00
parent 6b314774f3
commit 22068bfbb1

View File

@ -68,10 +68,7 @@ class Proxy(DatagramProtocol):
_peer_id = self.connTrack[port]
elif _command == MSTN:
_peer_id = data[6:10]
try:
self.peerTrack[_peer_id]['timer'].cancel()
except KeyError:
pass
self.peerTrack[_peer_id]['timer'].cancel()
self.reaper(_peer_id)
return
elif _command == MSTP: