summaryrefslogtreecommitdiffstats
path: root/pyload/webui
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-16 11:27:19 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-16 11:31:22 +0200
commit892d2fa9957337311aad5b913d1a084b4bf602d1 (patch)
tree9f113faa26c43bf475ed4d2eab8991dcb1a2ffb7 /pyload/webui
parentUse fundamental block size to calculate free byte count. Preferred blocks are... (diff)
downloadpyload-892d2fa9957337311aad5b913d1a084b4bf602d1.tar.xz
[Webui] Fix wrong trafficleft format
Diffstat (limited to 'pyload/webui')
-rw-r--r--pyload/webui/app/pyload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/webui/app/pyload.py b/pyload/webui/app/pyload.py
index 6887d71f2..c13d5bf48 100644
--- a/pyload/webui/app/pyload.py
+++ b/pyload/webui/app/pyload.py
@@ -277,7 +277,7 @@ def config():
elif not data.trafficleft:
data.trafficleft = _("not available")
else:
- data.trafficleft = formatSize(data.trafficleft * 1024)
+ data.trafficleft = formatSize(data.trafficleft)
if data.validuntil == -1:
data.validuntil = _("unlimited")