Commit f8f8fe50 authored by Romain Courteaud's avatar Romain Courteaud

Do not use blockwise option, in order to get carriage return

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24496 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5c111888
......@@ -33,7 +33,7 @@ class png_to_text(popentransform):
os.close(tmpfile) # close it so the other process can read it
command = command % { 'infile' : tmpname } # apply tmp name to command
cin, couterr = os.popen4('quiet=1 hocr=0 %s' % command, 'b')
cin, couterr = os.popen4('quiet=1 hocr=0 blockwise=0 %s' % command, 'b')
if self.useStdin:
cin.write(str(data))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment