From d65f87e853e51c5dc07799877b93190231dc1b1a Mon Sep 17 00:00:00 2001 From: Bambie42 Date: Wed, 30 Sep 2015 12:29:10 +0200 Subject: fixes #1894 UploadedTo getSize error --- module/plugins/accounts/UploadedTo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/accounts') 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, -- cgit v1.2.3