From 05d258d98dd8c2faf0b769840fa1e3c4acccdce8 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 20 Jul 2014 03:25:14 +0200 Subject: Fix and improve 5060e4c6374a5116d0d8b02528f910f8c5f8bcf9 --- module/plugins/hoster/LomafileCom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hoster/LomafileCom.py') 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: -- cgit v1.2.3