From c884142691d9b6d98dbaa54c87ea207677871c92 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 8 Apr 2008 05:15:52 +0000 Subject: [PATCH] Only show peers that we've exchanged a handshake with. --- deluge/core/torrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 44a287b68..034c4d203 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -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")