summaryrefslogtreecommitdiffstats
path: root/module/plugins/Account.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 01:15:58 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 01:15:58 +0200
commit29de13dc5098cc9214f3f8f111da140a22e3e2ff (patch)
treeddf95710cbc7ee67da3457b38a1e7937fda4ef21 /module/plugins/Account.py
parentFix error method (diff)
downloadpyload-29de13dc5098cc9214f3f8f111da140a22e3e2ff.tar.xz
Use parseTraffic instead parseFileSize in accounts
Diffstat (limited to 'module/plugins/Account.py')
-rw-r--r--module/plugins/Account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py
index 9c97d2cf9..72b10b45d 100644
--- a/module/plugins/Account.py
+++ b/module/plugins/Account.py
@@ -265,7 +265,7 @@ class Account(Base):
def parseTraffic(self, string): #returns kbyte
- return parseFileSize(string) / 1024
+ return parseFileSize(string, unit="kb")
def wrongPassword(self):