diff options
| author | 2014-07-20 03:02:09 +0200 | |
|---|---|---|
| committer | 2014-07-20 03:34:54 +0200 | |
| commit | 9395182da7afed55a29bde1c7cbefe4204e783f0 (patch) | |
| tree | 14c5f5f2dc5ea428c4625e8ce9208c5d77d1fc18 /module/plugins/accounts/HellshareCz.py | |
| parent | [account] self.html -> html (where was possible) (diff) | |
| download | pyload-9395182da7afed55a29bde1c7cbefe4204e783f0.tar.xz | |
Store all re.search/match object as "m" instead "found"
Diffstat (limited to 'module/plugins/accounts/HellshareCz.py')
| -rw-r--r-- | module/plugins/accounts/HellshareCz.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/module/plugins/accounts/HellshareCz.py b/module/plugins/accounts/HellshareCz.py index dfe5b57d8..d6e65a33e 100644 --- a/module/plugins/accounts/HellshareCz.py +++ b/module/plugins/accounts/HellshareCz.py @@ -37,13 +37,13 @@ class HellshareCz(Account):          self.relogin(user)          html = req.load("http://www.hellshare.com/") -        found = re.search(self.CREDIT_LEFT_PATTERN, html) -        if found is None: +        m = re.search(self.CREDIT_LEFT_PATTERN, html) +        if m is None:              trafficleft = None              validuntil = None              premium = False          else: -            credit = found.group(1) +            credit = m.group(1)              premium = True              try:                  if "." in credit: | 
