mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
Only show peers that we've exchanged a handshake with.
This commit is contained in:
parent
1bf2339b0f
commit
c884142691
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ class Torrent:
|
|||
|
||||
for peer in peers:
|
||||
# We do not want to report peers that are half-connected
|
||||
if peer.flags & peer.connecting:
|
||||
if peer.flags & peer.connecting or peer.flags & peer.handshake:
|
||||
continue
|
||||
try:
|
||||
client = str(peer.client).decode("utf-8")
|
||||
|
|
Loading…
Add table
Reference in a new issue