summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/PremiumizeMe.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/PremiumizeMe.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/PremiumizeMe.py')
-rw-r--r--module/plugins/accounts/PremiumizeMe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/PremiumizeMe.py b/module/plugins/accounts/PremiumizeMe.py
index a234a8d93..e65b9ec4b 100644
--- a/module/plugins/accounts/PremiumizeMe.py
+++ b/module/plugins/accounts/PremiumizeMe.py
@@ -22,7 +22,7 @@ class PremiumizeMe(Account):
# Parse account info
account_info = {"validuntil": float(status['result']['expires']),
- "trafficleft": max(0, status['result']['trafficleft_bytes'] / 1024)}
+ "trafficleft": max(0, status['result']['trafficleft_bytes'])}
if status['result']['type'] == 'free':
account_info['premium'] = False