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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/EuroshareEu.py b/module/plugins/accounts/EuroshareEu.py
index f92a4e821..db4539e2e 100644
--- a/module/plugins/accounts/EuroshareEu.py
+++ b/module/plugins/accounts/EuroshareEu.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from time import mktime, strptime
import re
+import time
from module.plugins.Account import Account
@@ -25,7 +25,7 @@ class EuroshareEu(Account):
premium, validuntil = False, -1
else:
premium = True
- validuntil = mktime(strptime(m.group(1), "%d.%m.%Y %H:%M"))
+ validuntil = time.mktime(time.strptime(m.group(1), "%d.%m.%Y %H:%M"))
return {"validuntil": validuntil, "trafficleft": -1, "premium": premium}