summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar EvolutionClip <evolutionclip@live.de> 2015-01-12 18:29:15 +0100
committerGravatar EvolutionClip <evolutionclip@live.de> 2015-01-12 18:29:15 +0100
commit8c58586347a48d58353f4f7394abbb44f62c3cc7 (patch)
tree9f5a4d6c2c59190f7713f9bfed21f933a6cc23e5 /module/plugins/accounts
parentUpdate SimplyPremiumCom.py (diff)
downloadpyload-8c58586347a48d58353f4f7394abbb44f62c3cc7.tar.xz
Update SimplyPremiumCom.py
Forgot to change one Variable
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/SimplyPremiumCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/SimplyPremiumCom.py b/module/plugins/accounts/SimplyPremiumCom.py
index c302f6589..79daf245e 100644
--- a/module/plugins/accounts/SimplyPremiumCom.py
+++ b/module/plugins/accounts/SimplyPremiumCom.py
@@ -28,7 +28,7 @@ class SimplyPremiumCom(Account):
if 'timeend' in json_data['result'] and json_data['result']['timeend']:
validuntil = float(json_data['result']['timeend'])
- if 'traffic' in json_data['result'] and json_data['result']['remain_traffic']:
+ if 'remain_traffic' in json_data['result'] and json_data['result']['remain_traffic']:
trafficleft = float(json_data['result']['remain_traffic']) / 1024 #@TODO: Remove `/ 1024` in 0.4.10
return {"premium": True, "validuntil": validuntil, "trafficleft": trafficleft}