summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-11-18 22:09:14 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-11-18 22:09:14 +0100
commitf559ab5186fb7bc122e39b1ceea96e25e78a5318 (patch)
tree5554e39535d8e1f432e1a5abc9f17c7190ff047f /module/plugins
parentclosed #153 (diff)
downloadpyload-f559ab5186fb7bc122e39b1ceea96e25e78a5318.tar.xz
little fixes
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/captcha/captcha.py2
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")