From b7fd2d1bf1d5e6a27cfe3750c098118a4dd8eb28 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 30 Jun 2011 23:21:31 +0100 Subject: [PATCH] Fix #1338 Seeds and Peers totals not updating --- 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 9c7726080..bf0a508b2 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -691,8 +691,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,