summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Pinto <markybob@dipconsultants.com>2007-10-23 06:49:27 +0000
committerMarcos Pinto <markybob@dipconsultants.com>2007-10-23 06:49:27 +0000
commitd7149278cc3c85cd9bca92c990729cdd5d0adf30 (patch)
tree7d68d8e84d8b5d07830debab4b96c67dccc57335
parentc6779ab0f12bf60d6849517a536db15ae9b40af7 (diff)
downloaddeluge-d7149278cc3c85cd9bca92c990729cdd5d0adf30.tar.gz
deluge-d7149278cc3c85cd9bca92c990729cdd5d0adf30.tar.bz2
deluge-d7149278cc3c85cd9bca92c990729cdd5d0adf30.zip
fix last
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
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