From 8644bc219a1a0fa30e198445532bbf898af26f75 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Wed, 6 Jul 2011 21:33:02 +0100 Subject: [PATCH] LP Bug #496265: Peers in PeersTab show non-zero download rate when seeding --- deluge/core/torrent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 09573ede8..36b3b4b17 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -482,11 +482,11 @@ class Torrent(object): ret.append({ "client": client, "country": country, - "down_speed": peer.down_speed, + "down_speed": peer.payload_down_speed, "ip": "%s:%s" % (peer.ip[0], peer.ip[1]), "progress": peer.progress, "seed": peer.flags & peer.seed, - "up_speed": peer.up_speed, + "up_speed": peer.payload_up_speed, }) return ret