summaryrefslogtreecommitdiffstats
path: root/module/web
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-17 21:11:22 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-17 21:11:22 +0200
commitf8422d1555df000d2f55d59afc372c20cd9fe677 (patch)
tree657cbb0fe3e730cedc6718509cc91fdea5ddfbb1 /module/web
parentfixes last commit (diff)
downloadpyload-f8422d1555df000d2f55d59afc372c20cd9fe677.tar.xz
convert sizes to ints
Diffstat (limited to 'module/web')
-rw-r--r--module/web/pyload_app.py2
1 files changed, 1 insertions, 1 deletions
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])