summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FilerNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/FilerNet.py')
-rw-r--r--module/plugins/hoster/FilerNet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/FilerNet.py b/module/plugins/hoster/FilerNet.py
index 72396fac6..91805ca40 100644
--- a/module/plugins/hoster/FilerNet.py
+++ b/module/plugins/hoster/FilerNet.py
@@ -109,7 +109,7 @@ class FilerNet(SimpleHoster):
else: # Direct Download OFF
html = self.load(self.pyfile.url)
m = re.search(self.LINK_PATTERN, html)
- if not m:
+ if m is None:
self.parseError("Unable to detect direct link, try to enable 'Direct download' in your user settings")
dl = 'http://filer.net' + m.group(1)