diff options
author | Marcos Pinto <markybob@dipconsultants.com> | 2007-10-23 07:35:23 +0000 |
---|---|---|
committer | Marcos Pinto <markybob@dipconsultants.com> | 2007-10-23 07:35:23 +0000 |
commit | 49c0e3462aea99e40fa0cbf93cdc191cdfb31b46 (patch) | |
tree | 76b6676a585b6d6262dba51a8b4ce4bedd811094 | |
parent | d7149278cc3c85cd9bca92c990729cdd5d0adf30 (diff) | |
download | deluge-49c0e3462aea99e40fa0cbf93cdc191cdfb31b46.tar.gz deluge-49c0e3462aea99e40fa0cbf93cdc191cdfb31b46.tar.bz2 deluge-49c0e3462aea99e40fa0cbf93cdc191cdfb31b46.zip |
tweak last attribute except
-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 b79c03f39..e293174f3 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)['total_upload'] / 1024) + up = float((self.unique_IDs[unique_ID].uploaded_memory + self.get_core_torrent_state(unique_ID, False)['total_upload']) / 1024) down = float(torrent_state["total_done"] / 1024) try: ret = up/down |