From 8c58586347a48d58353f4f7394abbb44f62c3cc7 Mon Sep 17 00:00:00 2001 From: EvolutionClip Date: Mon, 12 Jan 2015 18:29:15 +0100 Subject: Update SimplyPremiumCom.py Forgot to change one Variable --- module/plugins/accounts/SimplyPremiumCom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module') 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} -- cgit v1.2.3