summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-03 17:32:47 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-03 17:32:47 +0200
commit59001fd7c67330b3929a4b9c5fbc6d01c02ebf1d (patch)
treeb0e1558a67058ccc98a1fd85b7cb333e1224d8db /module/plugins/accounts
parentshareonline premiumfix, ul login check (diff)
downloadpyload-59001fd7c67330b3929a4b9c5fbc6d01c02ebf1d.tar.xz
shareonline expire date fix
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/ShareonlineBiz.py2
1 files changed, 1 insertions, 1 deletions
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