diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-03 17:32:47 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-03 17:32:47 +0200 |
commit | 59001fd7c67330b3929a4b9c5fbc6d01c02ebf1d (patch) | |
tree | b0e1558a67058ccc98a1fd85b7cb333e1224d8db | |
parent | shareonline premiumfix, ul login check (diff) | |
download | pyload-59001fd7c67330b3929a4b9c5fbc6d01c02ebf1d.tar.xz |
shareonline expire date fix
-rw-r--r-- | module/plugins/Account.py | 2 | ||||
-rw-r--r-- | module/plugins/accounts/ShareonlineBiz.py | 2 |
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 |