summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/LomafileCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/LomafileCom.py')
-rw-r--r--module/plugins/hoster/LomafileCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/LomafileCom.py b/module/plugins/hoster/LomafileCom.py
index 5ce41264b..9f05d952e 100644
--- a/module/plugins/hoster/LomafileCom.py
+++ b/module/plugins/hoster/LomafileCom.py
@@ -42,7 +42,7 @@ class LomafileCom(SimpleHoster):
"down_direct": "1"})
download_url = re.search(r'http://[\d\.]+:\d+/d/\w+/[\w\.]+', self.html)
- if not download_url:
+ if download_url is None:
self.invalidCaptcha()
self.logDebug("Invalid captcha.")
else: