summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/SimplyPremiumCom.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/SimplyPremiumCom.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/SimplyPremiumCom.py')
-rw-r--r--module/plugins/accounts/SimplyPremiumCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/SimplyPremiumCom.py b/module/plugins/accounts/SimplyPremiumCom.py
index 442aaa9f3..2fe41abef 100644
--- a/module/plugins/accounts/SimplyPremiumCom.py
+++ b/module/plugins/accounts/SimplyPremiumCom.py
@@ -25,8 +25,8 @@ class SimplyPremiumCom(Account):
#Time package
validuntil = float(json_data['result']['timeend'])
#Traffic package
- # {"trafficleft": int(traffic) / 1024, "validuntil": -1}
- #trafficleft = int(json_data['result']['traffic'] / 1024)
+ # {"trafficleft": int(traffic), "validuntil": -1}
+ #trafficleft = int(json_data['result']['traffic'])
#return {"premium": True, "validuntil": validuntil, "trafficleft": trafficleft}
return {"premium": True, "validuntil": validuntil}