From 2cc373e5fedbd54d21194c3558f6b84aedaa4d37 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Fri, 8 Jun 2007 08:19:20 +0000 Subject: [PATCH] add uploaded_memory back --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.py b/src/core.py index 1d5644c70..1f2731799 100644 --- a/src/core.py +++ b/src/core.py @@ -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: