summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/MegasharesCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/MegasharesCom.py')
-rw-r--r--pyload/plugin/account/MegasharesCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/account/MegasharesCom.py b/pyload/plugin/account/MegasharesCom.py
index 53b854f65..7c5d0d357 100644
--- a/pyload/plugin/account/MegasharesCom.py
+++ b/pyload/plugin/account/MegasharesCom.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
import re
-from time import mktime, strptime
+import time
from pyload.plugin.Account import Account
@@ -29,7 +29,7 @@ class MegasharesCom(Account):
try:
timestr = re.search(self.VALID_UNTIL_PATTERN, html).group(1)
self.logDebug(timestr)
- validuntil = mktime(strptime(timestr, "%b %d, %Y"))
+ validuntil = time.mktime(time.strptime(timestr, "%b %d, %Y"))
except Exception, e:
self.logError(e)