diff options
author | EvolutionClip <evolutionclip@live.de> | 2015-01-12 18:29:15 +0100 |
---|---|---|
committer | EvolutionClip <evolutionclip@live.de> | 2015-01-12 18:29:15 +0100 |
commit | 8c58586347a48d58353f4f7394abbb44f62c3cc7 (patch) | |
tree | 9f5a4d6c2c59190f7713f9bfed21f933a6cc23e5 /module/plugins/accounts | |
parent | Update SimplyPremiumCom.py (diff) | |
download | pyload-8c58586347a48d58353f4f7394abbb44f62c3cc7.tar.xz |
Update SimplyPremiumCom.py
Forgot to change one Variable
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r-- | module/plugins/accounts/SimplyPremiumCom.py | 2 |
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} |