LP Bug #496265: Peers in PeersTab show non-zero download rate when seeding
This commit is contained in:
parent
7c276f3133
commit
8644bc219a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue