summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/NetloadIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-08 15:38:01 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-08 15:38:01 +0200
commit02e3ede3edcf4415ac466fbea9d4f25d9ccc8671 (patch)
tree81084f9263f9229790e62097957d5132f18028e9 /module/plugins/hoster/NetloadIn.py
parent[UserAgentSwitcher] Random user-agent feature (diff)
downloadpyload-02e3ede3edcf4415ac466fbea9d4f25d9ccc8671.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/NetloadIn.py')
-rw-r--r--module/plugins/hoster/NetloadIn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py
index 0ff3c25d3..57af3f18e 100644
--- a/module/plugins/hoster/NetloadIn.py
+++ b/module/plugins/hoster/NetloadIn.py
@@ -268,7 +268,7 @@ class NetloadIn(Hoster):
try:
file_url_pattern = r'<a class="Orange_Link" href="(http://.+)".?>Or click here'
attempt = re.search(file_url_pattern, page)
- if attempt is not None:
+ if attempt:
return attempt.group(1)
else:
self.logDebug("Backup try for final link")