diff options
Diffstat (limited to 'module/plugins/captcha/AdYouLike.py')
-rw-r--r-- | module/plugins/captcha/AdYouLike.py | 6 |
1 files changed, 3 insertions, 3 deletions
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}) |