summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar Bambie42 <bambie42@users.noreply.github.com> 2015-09-30 12:29:10 +0200
committerGravatar Aaron Bamberg <dev@import-antigravity.net> 2015-09-30 12:30:52 +0200
commitd65f87e853e51c5dc07799877b93190231dc1b1a (patch)
tree2197cbe4916734929f6b7ab02fd2172149dd3ae7 /module/plugins/accounts
parentMerge pull request #1885 from GammaC0de/patch-7 (diff)
downloadpyload-d65f87e853e51c5dc07799877b93190231dc1b1a.tar.xz
fixes #1894 UploadedTo getSize error
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/UploadedTo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/UploadedTo.py b/module/plugins/accounts/UploadedTo.py
index c5cd9dd9f..8b9e3614a 100644
--- a/module/plugins/accounts/UploadedTo.py
+++ b/module/plugins/accounts/UploadedTo.py
@@ -56,7 +56,7 @@ class UploadedTo(Account):
trafficleft = float(size.replace(',', '.')) / 1024
trafficleft *= 1 << 40
else:
- trafficleft = self.parse_traffic(size + unit)
+ trafficleft = self.parse_traffic(size, unit)
return {'validuntil' : validuntil,
'trafficleft': trafficleft,