summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/FilejungleCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-20 03:02:09 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-20 03:34:54 +0200
commit9395182da7afed55a29bde1c7cbefe4204e783f0 (patch)
tree14c5f5f2dc5ea428c4625e8ce9208c5d77d1fc18 /module/plugins/accounts/FilejungleCom.py
parent[account] self.html -> html (where was possible) (diff)
downloadpyload-9395182da7afed55a29bde1c7cbefe4204e783f0.tar.xz
Store all re.search/match object as "m" instead "found"
Diffstat (limited to 'module/plugins/accounts/FilejungleCom.py')
-rw-r--r--module/plugins/accounts/FilejungleCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/accounts/FilejungleCom.py b/module/plugins/accounts/FilejungleCom.py
index e105d1e26..7c894e3d6 100644
--- a/module/plugins/accounts/FilejungleCom.py
+++ b/module/plugins/accounts/FilejungleCom.py
@@ -39,10 +39,10 @@ class FilejungleCom(Account):
def loadAccountInfo(self, user, req):
html = req.load(self.URL + "dashboard.php")
- found = re.search(self.TRAFFIC_LEFT_PATTERN, html)
- if found:
+ m = re.search(self.TRAFFIC_LEFT_PATTERN, html)
+ if m:
premium = True
- validuntil = mktime(strptime(found.group(1), "%d %b %Y"))
+ validuntil = mktime(strptime(m.group(1), "%d %b %Y"))
else:
premium = False
validuntil = -1