diff options
Diffstat (limited to 'module/plugins/captcha/AdsCaptcha.py')
-rw-r--r-- | module/plugins/captcha/AdsCaptcha.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/captcha/AdsCaptcha.py b/module/plugins/captcha/AdsCaptcha.py index 613283e53..7dc51565f 100644 --- a/module/plugins/captcha/AdsCaptcha.py +++ b/module/plugins/captcha/AdsCaptcha.py @@ -18,7 +18,7 @@ class AdsCaptcha(CaptchaService): CAPTCHAID_PATTERN = r'api\.adscaptcha\.com/Get\.aspx\?.*?CaptchaId=(\d+)' - PUBLICKEY_PATTERN = r'api\.adscaptcha\.com/Get\.aspx\?.*?PublicKey=([\w-]+)' + PUBLICKEY_PATTERN = r'api\.adscaptcha\.com/Get\.aspx\?.*?PublicKey=([\w\-]+)' def detect_key(self, data=None): @@ -31,7 +31,7 @@ class AdsCaptcha(CaptchaService): self.log_debug("Key: %s | ID: %s" % self.key) return self.key else: - self.log_warning(_("Key or id pattern not found")) + self.log_debug("Key or id pattern not found") return None |