summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/MegasharesCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/MegasharesCom.py')
-rw-r--r--module/plugins/accounts/MegasharesCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/accounts/MegasharesCom.py b/module/plugins/accounts/MegasharesCom.py
index 127ebadc8..d9ef7abb9 100644
--- a/module/plugins/accounts/MegasharesCom.py
+++ b/module/plugins/accounts/MegasharesCom.py
@@ -1,15 +1,15 @@
# -*- coding: utf-8 -*-
import re
-from time import mktime, strptime
+import time
-from module.plugins.Account import Account
+from module.plugins.internal.Account import Account
class MegasharesCom(Account):
__name__ = "MegasharesCom"
__type__ = "account"
- __version__ = "0.03"
+ __version__ = "0.04"
__description__ = """Megashares.com account plugin"""
__license__ = "GPLv3"
@@ -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)