From 19c75c10c8b91e5f91ef011e07e2e50c41073e2e Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 13 Aug 2007 05:40:48 +0000 Subject: [PATCH] use payload for session total downloaded and total uploaded --- src/tab_details.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tab_details.py b/src/tab_details.py index 988567446..efa6f48b4 100644 --- a/src/tab_details.py +++ b/src/tab_details.py @@ -71,11 +71,11 @@ class DetailsTabManager(object): self.availability.set_text('%.3f' % state["distributed_copies"]) self.total_downloaded.set_text('%s (%s)' % \ (common.fsize(state["total_done"]), - common.fsize(state["total_download"]))) + common.fsize(state["total_payload_download"]))) self.total_uploaded.set_text('%s (%s)' % \ (common.fsize(self.manager.unique_IDs[unique_id].uploaded_memory+\ state["total_payload_upload"]), - common.fsize(state["total_upload"]))) + common.fsize(state["total_payload_upload"]))) self.download_speed.set_text(common.fspeed(state["download_rate"])) self.upload_speed.set_text(common.fspeed(state["upload_rate"])) self.seeders.set_text(common.fseed(state))