This commit is contained in:
Marcos Pinto 2007-10-23 06:49:27 +00:00
parent d17f6ee274
commit 0bec032638
1 changed files with 1 additions and 1 deletions

View File

@ -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