From 0bec0326380c472ccefffcf29fcd8d2fd3ecfb11 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 23 Oct 2007 06:49:27 +0000 Subject: [PATCH] fix last --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.py b/src/core.py index 26fac7077..b79c03f39 100644 --- a/src/core.py +++ b/src/core.py @@ -987,7 +987,7 @@ class Manager: try: up = float((self.unique_IDs[unique_ID].initial_uploaded_memory + self.get_core_torrent_state(unique_ID, False)['total_upload']) / 1024) except AttributeError: - up = float(self.get_core_torrent_state(unique_ID, False) / 1024) + up = float(self.get_core_torrent_state(unique_ID, False)['total_upload'] / 1024) down = float(torrent_state["total_done"] / 1024) try: ret = up/down