diff options
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/captcha/captcha.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/captcha/captcha.py b/module/plugins/captcha/captcha.py index 27c362f17..1da269dc6 100644 --- a/module/plugins/captcha/captcha.py +++ b/module/plugins/captcha/captcha.py @@ -56,6 +56,8 @@ class OCR(object): popen = subprocess.Popen(command, bufsize = -1, stdout=subprocess.PIPE, stderr=subprocess.PIPE) popen.wait() + output = popen.stdout.read() +" | "+ popen.stderr.read() + self.logger.debug("Tesseract ReturnCode %s Output: %s" % (popen.returncode, output)) def run_tesser(self, subset=False, digits=True, lowercase=True, uppercase=True): #self.logger.debug("create tmp tif") |