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/hoster/EdiskCz.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/hoster/EdiskCz.py')
| -rw-r--r-- | module/plugins/hoster/EdiskCz.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/module/plugins/hoster/EdiskCz.py b/module/plugins/hoster/EdiskCz.py index c753e64a1..f0715bfc7 100644 --- a/module/plugins/hoster/EdiskCz.py +++ b/module/plugins/hoster/EdiskCz.py @@ -43,10 +43,10 @@ class EdiskCz(SimpleHoster):          self.logDebug('URL:' + url) -        found = re.search(self.ACTION_PATTERN, url) -        if found is None: +        m = re.search(self.ACTION_PATTERN, url) +        if m is None:              self.parseError("ACTION") -        action = found.group(1) +        action = m.group(1)          self.html = self.load(url, decode=True)          self.getFileInfo() | 
