summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha/SolveMedia.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/captcha/SolveMedia.py')
-rw-r--r--module/plugins/captcha/SolveMedia.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/captcha/SolveMedia.py b/module/plugins/captcha/SolveMedia.py
index 870b5fc10..a5a49b68e 100644
--- a/module/plugins/captcha/SolveMedia.py
+++ b/module/plugins/captcha/SolveMedia.py
@@ -24,7 +24,7 @@ class SolveMedia(CaptchaService):
html = data or self.retrieve_data()
m = re.search(self.KEY_PATTERN, html)
- if m:
+ if m is not None:
self.key = m.group(1).strip()
self.log_debug("Key: %s" % self.key)
return self.key