diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2011-06-30 23:21:31 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2011-07-01 02:37:40 +0100 |
commit | 1a9ae626693623273c7a48ff8c29037cd73c15b2 (patch) | |
tree | e864cdfc4f09978c9fe20723befeb7a0d5ea76a1 | |
parent | e7b5be6a6053b832ecac6a65d76950eb89e24067 (diff) | |
download | deluge-1a9ae626693623273c7a48ff8c29037cd73c15b2.tar.gz deluge-1a9ae626693623273c7a48ff8c29037cd73c15b2.tar.bz2 deluge-1a9ae626693623273c7a48ff8c29037cd73c15b2.zip |
Fix #1338 Seeds and Peers totals not updating
-rw-r--r-- | deluge/core/torrent.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 202e17d07..09573ede8 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -620,8 +620,8 @@ class Torrent(object): "total_done": self.status.total_done, "total_payload_download": self.status.total_payload_download, "total_payload_upload": self.status.total_payload_upload, - "total_peers": self.status.num_incomplete, - "total_seeds": self.status.num_complete, + "total_peers": self.status.list_peers - self.status.list_seeds, + "total_seeds": self.status.list_seeds, "total_uploaded": self.status.all_time_upload, "total_wanted": self.status.total_wanted, "tracker": self.status.current_tracker, |