summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha/CircleCaptcha.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-28 22:06:31 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-28 22:06:31 +0200
commit5745baca2dd9c8831631489781ef950af5184081 (patch)
treee6c0f5705f83ef389907d151d0390e8f0af2ed68 /module/plugins/captcha/CircleCaptcha.py
parentFix https://github.com/pyload/pyload/issues/1582 (diff)
downloadpyload-5745baca2dd9c8831631489781ef950af5184081.tar.xz
Fix https://github.com/pyload/pyload/issues/1520
Diffstat (limited to 'module/plugins/captcha/CircleCaptcha.py')
-rw-r--r--module/plugins/captcha/CircleCaptcha.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/module/plugins/captcha/CircleCaptcha.py b/module/plugins/captcha/CircleCaptcha.py
index 7728b4ac9..457d20a35 100644
--- a/module/plugins/captcha/CircleCaptcha.py
+++ b/module/plugins/captcha/CircleCaptcha.py
@@ -31,7 +31,7 @@ class ImageSequence:
class CircleCaptcha(OCR):
__name__ = "CircleCaptcha"
__type__ = "ocr"
- __version__ = "1.02"
+ __version__ = "1.03"
__status__ = "testing"
__description__ = """Circle captcha ocr plugin"""
@@ -255,7 +255,12 @@ class CircleCaptcha(OCR):
missing = 0
missingconsecutive = 0
missinglist = []
- minX = 0 maxX = 0 minY = 0 maxY = 0
+
+ minX = 0
+ maxX = 0
+ minY = 0
+ maxY = 0
+
pointsofcircle = []
if (c[2] < min_ray) or (c[2] > max_ray):