From 4acf548436ed1b946f9d335e9624bce77f4dbf2d Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 29 Nov 2011 17:52:13 +0000 Subject: [PATCH] Revert "Fix #1338 Seeds and Peers totals not updating" Did not fix the issue. This reverts commit 1a9ae626693623273c7a48ff8c29037cd73c15b2. --- 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 e5b71c6f6..972ffc6ba 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -716,8 +716,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.list_peers - self.status.list_seeds, - "total_seeds": self.status.list_seeds, + "total_peers": self.status.num_incomplete, + "total_seeds": self.status.num_complete, "total_uploaded": self.status.all_time_upload, "total_wanted": self.status.total_wanted, "tracker": self.status.current_tracker,