summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/Account.py2
-rw-r--r--module/plugins/accounts/ShareonlineBiz.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/Account.py b/module/plugins/Account.py
index 96e750db6..16f2a7b92 100644
--- a/module/plugins/Account.py
+++ b/module/plugins/Account.py
@@ -80,7 +80,7 @@ class Account():
""" return dict with infos, do not overwrite this method! """
data = Account.loadAccountInfo(self, name)
if not self.infos.has_key(name) or force:
- self.core.log.debug("Get Account Info for %s" % name)
+ self.core.log.debug("Get %s Account Info for %s" % (self.__name__, name))
try:
infos = self.loadAccountInfo(name)
except Exception, e:
diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py
index e6eaf6f27..15a554db0 100644
--- a/module/plugins/accounts/ShareonlineBiz.py
+++ b/module/plugins/accounts/ShareonlineBiz.py
@@ -33,7 +33,7 @@ class ShareonlineBiz(Account):
req = self.getAccountRequest(user)
src = req.load("http://www.share-online.biz/members.php?setlang=en")
validuntil = re.search(r'<td align="left"><b>Package Expire Date:</b></td>\s*<td align="left">(\d+/\d+/\d+)</td>', src).group(1)
- validuntil = int(mktime(strptime(validuntil, "%m/%d/%Y")))
+ validuntil = int(mktime(strptime(validuntil, "%m/%d/%y")))
tmp = {"validuntil":validuntil, "trafficleft":-1}
return tmp