summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/NCryptIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-31 05:48:44 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-31 05:48:44 +0200
commitdc47212c8e801d380e4db4bd1bec0bf183de9de1 (patch)
tree3d8a859e0028def05da2f1399199a5463f123159 /module/plugins/crypter/NCryptIn.py
parentFix https://github.com/pyload/pyload/issues/1602 (2) (diff)
downloadpyload-dc47212c8e801d380e4db4bd1bec0bf183de9de1.tar.xz
[Captcha] Fix _decrypt method
Diffstat (limited to 'module/plugins/crypter/NCryptIn.py')
-rw-r--r--module/plugins/crypter/NCryptIn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/crypter/NCryptIn.py b/module/plugins/crypter/NCryptIn.py
index 4e419a9c9..d483be323 100644
--- a/module/plugins/crypter/NCryptIn.py
+++ b/module/plugins/crypter/NCryptIn.py
@@ -164,7 +164,7 @@ class NCryptIn(Crypter):
if "circlecaptcha" in form:
self.log_debug("CircleCaptcha protected")
captcha_img_url = "http://ncrypt.in/classes/captcha/circlecaptcha.php"
- coords = self.captcha.decrypt(captcha_img_url, input_type="png", output_type='positional', ocr=False)
+ coords = self.captcha.decrypt(captcha_img_url, input_type="png", output_type='positional', ocr="CircleCaptcha")
self.log_debug("Captcha resolved, coords [%s]" % str(coords))
postData['circle.x'] = coords[0]
postData['circle.y'] = coords[1]