diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-15 17:15:29 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-15 17:15:29 +0100 |
commit | 282362c01b67f83ff5cf677ba125a41a6d594f2c (patch) | |
tree | 7782f1a146f41fa26fdd2c4bdb1679977cf5cf35 /pyload/plugins/captcha/AdsCaptcha.py | |
parent | Code cosmetics (diff) | |
download | pyload-282362c01b67f83ff5cf677ba125a41a6d594f2c.tar.xz |
Update plugins 2
Diffstat (limited to 'pyload/plugins/captcha/AdsCaptcha.py')
-rw-r--r-- | pyload/plugins/captcha/AdsCaptcha.py | 4 |
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 |