summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FreeWayMe.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/FreeWayMe.py')
-rw-r--r--module/plugins/accounts/FreeWayMe.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/accounts/FreeWayMe.py b/module/plugins/accounts/FreeWayMe.py
index 95977bd0f..2b54a850a 100644
--- a/module/plugins/accounts/FreeWayMe.py
+++ b/module/plugins/accounts/FreeWayMe.py
@@ -19,15 +19,15 @@ class FreeWayMe(Account):
self.log_debug(status)
- account_info = {"validuntil": -1, "premium": False}
+ account_info = {'validuntil': -1, 'premium': False}
if status['premium'] == "Free":
account_info['trafficleft'] = self.parse_traffic(status['guthaben'] + "MB")
elif status['premium'] == "Spender":
account_info['trafficleft'] = -1
elif status['premium'] == "Flatrate":
- account_info = {"validuntil": float(status['Flatrate']),
- "trafficleft": -1,
- "premium": True}
+ account_info = {'validuntil' : float(status['Flatrate']),
+ 'trafficleft': -1,
+ 'premium' : True}
return account_info
@@ -42,7 +42,7 @@ class FreeWayMe(Account):
def get_account_status(self, user, req):
answer = self.load("http://www.free-way.bz/ajax/jd.php", #@TODO: Revert to `https` in 0.4.10
- get={"id": 4, "user": user, "pass": self.get_account_data(user)['password']})
+ get={'id': 4, 'user': user, 'pass': self.get_account_data(user)['password']})
self.log_debug("Login: %s" % answer)