summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/EuroshareEu.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/EuroshareEu.py')
-rw-r--r--pyload/plugin/account/EuroshareEu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/account/EuroshareEu.py b/pyload/plugin/account/EuroshareEu.py
index b37fc68fa..6fa9f35b0 100644
--- a/pyload/plugin/account/EuroshareEu.py
+++ b/pyload/plugin/account/EuroshareEu.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from time import mktime, strptime
import re
+import time
from pyload.plugin.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}