From 299a26f5422f7309dafb30a6876e0c5d164bf92c Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 14 Dec 2015 16:08:07 +0100 Subject: Update captchas --- module/plugins/captcha/AdYouLike.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/captcha/AdYouLike.py') diff --git a/module/plugins/captcha/AdYouLike.py b/module/plugins/captcha/AdYouLike.py index c374c5bcf..c21a3d4fa 100644 --- a/module/plugins/captcha/AdYouLike.py +++ b/module/plugins/captcha/AdYouLike.py @@ -2,14 +2,14 @@ import re -from module.plugins.internal.utils import json +from module.plugins.internal.misc import json from module.plugins.internal.CaptchaService import CaptchaService class AdYouLike(CaptchaService): __name__ = "AdYouLike" __type__ = "captcha" - __version__ = "0.08" + __version__ = "0.09" __status__ = "testing" __description__ = """AdYouLike captcha service plugin""" @@ -42,7 +42,7 @@ class AdYouLike(CaptchaService): #: 'all':{'element_id':"ayl_private_cap_92300",'lang':"fr",'env':"prod"}} ayl = json.loads(ayl) - html = self.plugin.load("http://api-ayl.appspot.com/challenge", + html = self.pyfile.plugin.load("http://api-ayl.appspot.com/challenge", get={'key' : ayl['adyoulike']['key'], 'env' : ayl['all']['env'], 'callback': callback}) -- cgit v1.2.3