summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha/CircleCaptcha.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:01:56 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:01:56 +0100
commit6c75c0363f496df86e9c744a9a946f86f82715fa (patch)
tree53e5b7f906e2b9fb1d853d2b0599be7a8c5c7a3d /module/plugins/captcha/CircleCaptcha.py
parentTimeout for http request set to 1 minute + report effective url address in he... (diff)
downloadpyload-6c75c0363f496df86e9c744a9a946f86f82715fa.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/captcha/CircleCaptcha.py')
-rw-r--r--module/plugins/captcha/CircleCaptcha.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/captcha/CircleCaptcha.py b/module/plugins/captcha/CircleCaptcha.py
index e76cdc756..93bacae32 100644
--- a/module/plugins/captcha/CircleCaptcha.py
+++ b/module/plugins/captcha/CircleCaptcha.py
@@ -752,12 +752,12 @@ class CircleCaptcha(OCR):
#: Delete nearly circle
verify = -1
- # if verify is 0:
+ # if verify == 0:
# if self.pyload.debug:
# pix[c[0][0], c[0][1]] = 90 #(255, 255, 0)
# im.save("output.png", "png")
# return c[0][0], c[0][1]
- # elif verify is 1:
+ # elif verify == 1:
# if self.pyload.debug:
# pix[c[0][0], c[0][1]] = 40 #(255, 0, 0)
# im.save("output.png", "png")