Only show peers that we've exchanged a handshake with.

This commit is contained in:
Andrew Resch 2008-04-08 05:15:52 +00:00
parent 1bf2339b0f
commit c884142691

View File

@ -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")