summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MultishareCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-16 12:12:14 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-16 12:12:14 +0200
commit5d26b3f5c3b18d916b2ea24a22770cf62e207a50 (patch)
tree78ab9dc281a79cadca5629dd9085a974b3251acd /module/plugins/accounts/MultishareCz.py
parent[Webui] Fix wrong trafficleft format (diff)
downloadpyload-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.py2
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)