[Erp5-report] r24496 - /erp5/trunk/products/ERP5Type/patches/transforms/png_to_text.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Nov 5 16:45:40 CET 2008
Author: romain
Date: Wed Nov 5 16:45:40 2008
New Revision: 24496
URL: http://svn.erp5.org?rev=24496&view=rev
Log:
Do not use blockwise option, in order to get carriage return
Modified:
erp5/trunk/products/ERP5Type/patches/transforms/png_to_text.py
Modified: erp5/trunk/products/ERP5Type/patches/transforms/png_to_text.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/transforms/png_to_text.py?rev=24496&r1=24495&r2=24496&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/transforms/png_to_text.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/patches/transforms/png_to_text.py [utf8] Wed Nov 5 16:45:40 2008
@@ -33,7 +33,7 @@
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))
More information about the Erp5-report
mailing list