add uploaded_memory back

This commit is contained in:
Marcos Pinto 2007-06-08 08:19:20 +00:00
parent 3969504d24
commit 2cc373e5fe
1 changed files with 1 additions and 1 deletions

View File

@ -717,7 +717,7 @@ class Manager:
# Calculations
def calc_ratio(self, unique_ID, torrent_state):
up = float(torrent_state['total_payload_upload'])
up = float(torrent_state['total_payload_upload'] + self.unique_IDs[unique_ID].uploaded_memory)
down = float(torrent_state["total_payload_download"])
try: