Fix #1338 Seeds and Peers totals not updating
This commit is contained in:
parent
e7b5be6a60
commit
1a9ae62669
|
@ -620,8 +620,8 @@ class Torrent(object):
|
||||||
"total_done": self.status.total_done,
|
"total_done": self.status.total_done,
|
||||||
"total_payload_download": self.status.total_payload_download,
|
"total_payload_download": self.status.total_payload_download,
|
||||||
"total_payload_upload": self.status.total_payload_upload,
|
"total_payload_upload": self.status.total_payload_upload,
|
||||||
"total_peers": self.status.num_incomplete,
|
"total_peers": self.status.list_peers - self.status.list_seeds,
|
||||||
"total_seeds": self.status.num_complete,
|
"total_seeds": self.status.list_seeds,
|
||||||
"total_uploaded": self.status.all_time_upload,
|
"total_uploaded": self.status.all_time_upload,
|
||||||
"total_wanted": self.status.total_wanted,
|
"total_wanted": self.status.total_wanted,
|
||||||
"tracker": self.status.current_tracker,
|
"tracker": self.status.current_tracker,
|
||||||
|
|
Loading…
Reference in New Issue