mirror of
https://github.com/markqvist/LXMF.git
synced 2025-05-23 00:01:16 -04:00
Fixed invalid name in peer culling. Thanks Stephan :)
This commit is contained in:
parent
2d1828513f
commit
ed4effdab7
1 changed files with 2 additions and 3 deletions
|
@ -1573,10 +1573,9 @@ class LXMRouter:
|
|||
RNS.log("Selected waiting peer "+str(selected_index)+": "+RNS.prettyhexrep(selected_peer.destination.hash), RNS.LOG_DEBUG)
|
||||
selected_peer.sync()
|
||||
|
||||
for peer in culled_peers:
|
||||
RNS.log("Removing peer "+RNS.prettyhexrep(peer)+" due to excessive unreachability", RNS.LOG_WARNING)
|
||||
for peer_id in culled_peers:
|
||||
RNS.log("Removing peer "+RNS.prettyhexrep(peer_id)+" due to excessive unreachability", RNS.LOG_WARNING)
|
||||
try:
|
||||
# TODO: Check this
|
||||
if peer_id in self.peers:
|
||||
self.peers.pop(peer_id)
|
||||
except Exception as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue