diff options
author | Bambie42 <bambie42@users.noreply.github.com> | 2015-09-30 12:29:10 +0200 |
---|---|---|
committer | Aaron Bamberg <dev@import-antigravity.net> | 2015-09-30 12:30:52 +0200 |
commit | d65f87e853e51c5dc07799877b93190231dc1b1a (patch) | |
tree | 2197cbe4916734929f6b7ab02fd2172149dd3ae7 /module | |
parent | Merge pull request #1885 from GammaC0de/patch-7 (diff) | |
download | pyload-d65f87e853e51c5dc07799877b93190231dc1b1a.tar.xz |
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 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, |