summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/captcha/AdsCaptcha.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/captcha/AdsCaptcha.py')
-rw-r--r--pyload/plugins/captcha/AdsCaptcha.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/captcha/AdsCaptcha.py b/pyload/plugins/captcha/AdsCaptcha.py
index 4eabfbf9b..845205e4c 100644
--- a/pyload/plugins/captcha/AdsCaptcha.py
+++ b/pyload/plugins/captcha/AdsCaptcha.py
@@ -27,7 +27,7 @@ class AdsCaptcha(Captcha):
html = self.plugin.html
else:
errmsg = _("AdsCaptcha html not found")
- self.plugin.fail(errmsg)
+ self.plugin.error(errmsg)
raise TypeError(errmsg)
m = re.search(self.ID_PATTERN, html)
@@ -47,7 +47,7 @@ class AdsCaptcha(Captcha):
key = self.key
else:
errmsg = _("AdsCaptcha key not found")
- self.plugin.fail(errmsg)
+ self.plugin.error(errmsg)
raise TypeError(errmsg)
CaptchaId, PublicKey = key