diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-01 19:05:03 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-01 19:05:03 +0200 |
commit | e3b312c2048a0afe6665db0769446c286cfb1f67 (patch) | |
tree | f9e01dd120e3bcd99e02c2c021871bea5081ef78 /module | |
parent | Merge pull request #1900 from manuelm/stable (diff) | |
parent | fixes #1894 UploadedTo getSize error (diff) | |
download | pyload-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.py | 2 |
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, |