summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/DepositfilesCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/DepositfilesCom.py')
-rw-r--r--module/plugins/accounts/DepositfilesCom.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/module/plugins/accounts/DepositfilesCom.py b/module/plugins/accounts/DepositfilesCom.py
index dfe430276..234ad0b7a 100644
--- a/module/plugins/accounts/DepositfilesCom.py
+++ b/module/plugins/accounts/DepositfilesCom.py
@@ -1,16 +1,15 @@
# -*- coding: utf-8 -*-
import re
+import time
-from time import strptime, mktime
-
-from module.plugins.Account import Account
+from module.plugins.internal.Account import Account
class DepositfilesCom(Account):
__name__ = "DepositfilesCom"
__type__ = "account"
- __version__ = "0.32"
+ __version__ = "0.33"
__description__ = """Depositfiles.com account plugin"""
__license__ = "GPLv3"
@@ -23,7 +22,7 @@ class DepositfilesCom(Account):
html = req.load("https://dfiles.eu/de/gold/")
validuntil = re.search(r"Sie haben Gold Zugang bis: <b>(.*?)</b></div>", html).group(1)
- validuntil = mktime(strptime(validuntil, "%Y-%m-%d %H:%M:%S"))
+ validuntil = time.mktime(time.strptime(validuntil, "%Y-%m-%d %H:%M:%S"))
return {"validuntil": validuntil, "trafficleft": -1}