summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-01 19:05:03 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-01 19:05:03 +0200
commite3b312c2048a0afe6665db0769446c286cfb1f67 (patch)
treef9e01dd120e3bcd99e02c2c021871bea5081ef78 /module
parentMerge pull request #1900 from manuelm/stable (diff)
parentfixes #1894 UploadedTo getSize error (diff)
downloadpyload-e3b312c2048a0afe6665db0769446c286cfb1f67.tar.xz
Merge pull request #1895 from Bambie42/stable
fixes #1894 UploadedTo getSize error
Diffstat (limited to 'module')
-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 0d1bb7bcb..9c3369bd8 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,