diff options
author | Marcos Pinto <markybob@dipconsultants.com> | 2007-10-23 06:49:27 +0000 |
---|---|---|
committer | Marcos Pinto <markybob@dipconsultants.com> | 2007-10-23 06:49:27 +0000 |
commit | 0bec0326380c472ccefffcf29fcd8d2fd3ecfb11 (patch) | |
tree | badd56dfa148576957812d0ac4032843f1131e6e | |
parent | d17f6ee274404ecd1fd0f3ac2389a0fc19fc8b4b (diff) | |
download | deluge-0bec0326380c472ccefffcf29fcd8d2fd3ecfb11.tar.gz deluge-0bec0326380c472ccefffcf29fcd8d2fd3ecfb11.tar.bz2 deluge-0bec0326380c472ccefffcf29fcd8d2fd3ecfb11.zip |
fix last
-rw-r--r-- | src/core.py | 2 |
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 |