diff options
Diffstat (limited to 'module/plugins/accounts/EuroshareEu.py')
-rw-r--r-- | module/plugins/accounts/EuroshareEu.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/EuroshareEu.py b/module/plugins/accounts/EuroshareEu.py index f92a4e821..b0e87136f 100644 --- a/module/plugins/accounts/EuroshareEu.py +++ b/module/plugins/accounts/EuroshareEu.py @@ -1,15 +1,15 @@ # -*- coding: utf-8 -*- -from time import mktime, strptime import re +import time -from module.plugins.Account import Account +from module.plugins.internal.Account import Account class EuroshareEu(Account): __name__ = "EuroshareEu" __type__ = "account" - __version__ = "0.02" + __version__ = "0.03" __description__ = """Euroshare.eu account plugin""" __license__ = "GPLv3" @@ -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} |