From ff9383bfe06d14d23bc0ed6af79aa8967965d078 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 19 Jul 2015 10:59:52 +0200 Subject: Code cosmetics (3) --- module/plugins/accounts/EuroshareEu.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module/plugins/accounts/EuroshareEu.py') diff --git a/module/plugins/accounts/EuroshareEu.py b/module/plugins/accounts/EuroshareEu.py index 6317ea1b2..f39577fbd 100644 --- a/module/plugins/accounts/EuroshareEu.py +++ b/module/plugins/accounts/EuroshareEu.py @@ -28,14 +28,14 @@ class EuroshareEu(Account): premium = True validuntil = time.mktime(time.strptime(m.group(1), "%d.%m.%Y %H:%M")) - return {"validuntil": validuntil, "trafficleft": -1, "premium": premium} + return {'validuntil': validuntil, 'trafficleft': -1, 'premium': premium} def login(self, user, data, req): html = self.load('http://euroshare.eu/customer-zone/login/', - post={"trvale" : "1", - "login" : user, - "password": data['password']}) + post={'trvale' : "1", + 'login' : user, + 'password': data['password']}) if u">Nesprávne prihlasovacie meno alebo heslo" in html: self.wrong_password() -- cgit v1.2.3