From 56c496dc5d2d532cae9f833b28260a894f48d627 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Wed, 15 Oct 2008 18:49:51 +0000 Subject: [PATCH] Change to use 'all_time_upload' and 'all_time_download' due to change in recent libtorrent revision --- 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 38f0643a9..834da41e6 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -529,12 +529,12 @@ class Torrent: full_status = { "distributed_copies": distributed_copies, "total_done": self.status.total_done, - "total_uploaded": self.total_uploaded + self.status.total_payload_upload, + "total_uploaded": self.status.all_time_upload, "state": self.state, "paused": self.status.paused, "progress": progress, "next_announce": self.status.next_announce.seconds, - "total_payload_download": self.status.total_payload_download, + "total_payload_download": self.status.all_time_download, "total_payload_upload": self.status.total_payload_upload, "download_payload_rate": self.status.download_payload_rate, "upload_payload_rate": self.status.upload_payload_rate,