summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/NetloadIn.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/NetloadIn.py')
-rw-r--r--pyload/plugin/hoster/NetloadIn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/hoster/NetloadIn.py b/pyload/plugin/hoster/NetloadIn.py
index 2055da5e4..9c049668b 100644
--- a/pyload/plugin/hoster/NetloadIn.py
+++ b/pyload/plugin/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")