summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FastshareCz.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/FastshareCz.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/FastshareCz.py')
-rw-r--r--module/plugins/accounts/FastshareCz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/FastshareCz.py b/module/plugins/accounts/FastshareCz.py
index a199ad36c..1f74ea2f9 100644
--- a/module/plugins/accounts/FastshareCz.py
+++ b/module/plugins/accounts/FastshareCz.py
@@ -24,7 +24,7 @@ class FastshareCz(Account):
m = re.search(self.CREDIT_PATTERN, html)
if m:
- trafficleft = parseFileSize(m.group(1)) / 1024
+ trafficleft = parseFileSize(m.group(1))
premium = True if trafficleft else False
else:
trafficleft = None