summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilefactoryCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/FilefactoryCom.py')
-rw-r--r--module/plugins/accounts/FilefactoryCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/FilefactoryCom.py b/module/plugins/accounts/FilefactoryCom.py
index 426d572db..f07f4895a 100644
--- a/module/plugins/accounts/FilefactoryCom.py
+++ b/module/plugins/accounts/FilefactoryCom.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
import re
-from time import mktime, strptime
+import time
from pycurl import REFERER
@@ -29,7 +29,7 @@ class FilefactoryCom(Account):
if m:
premium = True
validuntil = re.sub(self.VALID_UNTIL_PATTERN, '\g<D> \g<M> \g<Y>', m.group(0))
- validuntil = mktime(strptime(validuntil, "%d %b %Y"))
+ validuntil = time.mktime(time.strptime(validuntil, "%d %b %Y"))
else:
premium = False
validuntil = -1