diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-10 14:36:59 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-10 14:36:59 +0200 |
commit | 1e6846b3c435b0d71be83670d09bd019a84823ec (patch) | |
tree | e7a93e2a5583e50a1a6a8bff4ac1b84e4a230782 /module/plugins/hoster/NowDownloadSx.py | |
parent | [SimpleHoster] Fix https://github.com/pyload/pyload/issues/1341 (diff) | |
download | pyload-1e6846b3c435b0d71be83670d09bd019a84823ec.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/NowDownloadSx.py')
-rw-r--r-- | module/plugins/hoster/NowDownloadSx.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/NowDownloadSx.py b/module/plugins/hoster/NowDownloadSx.py index 5ef36d270..a1cf9baf7 100644 --- a/module/plugins/hoster/NowDownloadSx.py +++ b/module/plugins/hoster/NowDownloadSx.py @@ -55,11 +55,11 @@ class NowDownloadSx(SimpleHoster): self.html = self.load(baseurl + str(continuelink.group(1))) - url = re.search(self.LINK_FREE_PATTERN, self.html) - if url is None: + m = re.search(self.LINK_FREE_PATTERN, self.html) + if m is None: self.error(_("Download link not found")) - self.download(str(url.group(1))) + self.link = m.group(1) getInfo = create_getInfo(NowDownloadSx) |