From f8422d1555df000d2f55d59afc372c20cd9fe677 Mon Sep 17 00:00:00 2001
From: RaNaN <Mast3rRaNaN@hotmail.de>
Date: Tue, 17 May 2011 21:11:22 +0200
Subject: convert sizes to ints

---
 module/web/pyload_app.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'module/web')

diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py
index c7af88275..0caf2ece3 100644
--- a/module/web/pyload_app.py
+++ b/module/web/pyload_app.py
@@ -144,7 +144,7 @@ def home():
 
     for link in res:
         if link["status"] == 12:
-            link["information"] = "%s kB @ %s kB/s" % (link["size"] - link["kbleft"], link["speed"])
+            link["information"] = "%s kB @ %s kB/s" % (link["size"] - link["bleft"], link["speed"])
 
     return render_to_response("home.html", {"res": res}, [pre_processor])
 
-- 
cgit v1.2.3