summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/EuroshareEu.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/EuroshareEu.py')
-rw-r--r--module/plugins/accounts/EuroshareEu.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/EuroshareEu.py b/module/plugins/accounts/EuroshareEu.py
index 4123b520f..f396f9bf2 100644
--- a/module/plugins/accounts/EuroshareEu.py
+++ b/module/plugins/accounts/EuroshareEu.py
@@ -35,12 +35,12 @@ class EuroshareEu(Account):
self.relogin(user)
html = req.load("http://euroshare.eu/customer-zone/settings/")
- found = re.search('id="input_expire_date" value="(\d+\.\d+\.\d+ \d+:\d+)"', html)
- if found is None:
+ m = re.search('id="input_expire_date" value="(\d+\.\d+\.\d+ \d+:\d+)"', html)
+ if m is None:
premium, validuntil = False, -1
else:
premium = True
- validuntil = mktime(strptime(found.group(1), "%d.%m.%Y %H:%M"))
+ validuntil = mktime(strptime(m.group(1), "%d.%m.%Y %H:%M"))
return {"validuntil": validuntil, "trafficleft": -1, "premium": premium}