diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-16 12:12:14 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-16 12:12:14 +0200 |
commit | 5d26b3f5c3b18d916b2ea24a22770cf62e207a50 (patch) | |
tree | 78ab9dc281a79cadca5629dd9085a974b3251acd /module/plugins/accounts/MultishareCz.py | |
parent | [Webui] Fix wrong trafficleft format (diff) | |
download | pyload-5d26b3f5c3b18d916b2ea24a22770cf62e207a50.tar.xz |
Fix trafficleft size in some account plugins
Diffstat (limited to 'module/plugins/accounts/MultishareCz.py')
-rw-r--r-- | module/plugins/accounts/MultishareCz.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/MultishareCz.py b/module/plugins/accounts/MultishareCz.py index ae32b8806..813f36496 100644 --- a/module/plugins/accounts/MultishareCz.py +++ b/module/plugins/accounts/MultishareCz.py @@ -26,7 +26,7 @@ class MultishareCz(Account): html = req.load("http://www.multishare.cz/profil/", decode=True) m = re.search(self.TRAFFIC_LEFT_PATTERN, html) - trafficleft = parseFileSize(m.group('S'), m.group('U')) / 1024 if m else 0 + trafficleft = parseFileSize(m.group('S'), m.group('U')) if m else 0 self.premium = True if trafficleft else False html = req.load("http://www.multishare.cz/", decode=True) |