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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/accounts/EuroshareEu.py b/module/plugins/accounts/EuroshareEu.py
index b0e87136f..0568b9c4f 100644
--- a/module/plugins/accounts/EuroshareEu.py
+++ b/module/plugins/accounts/EuroshareEu.py
@@ -22,7 +22,8 @@ class EuroshareEu(Account):
m = re.search('id="input_expire_date" value="(\d+\.\d+\.\d+ \d+:\d+)"', html)
if m is None:
- premium, validuntil = False, -1
+ premium = False
+ validuntil = -1
else:
premium = True
validuntil = time.mktime(time.strptime(m.group(1), "%d.%m.%Y %H:%M"))