On Mon, 2006-11-06 at 08:22 -0600, [EMAIL PROTECTED] wrote:
>     Luigi> as long as python returns a short path you have no problem
>     Luigi> otherwise you could get a path with a space (like c:\Document and
>     Luigi> Settings\...).  It's could be required also on Linux (but as
>     Luigi> already said it's unlikely you get a path that requires quote
>     Luigi> there).  Putting quotes around pnmfile does no harm and may
>     Luigi> protect you from unusual setup
> 
> Fixed.

On windows you cannot use ' to quote a path you have to use ".

you must change
ocr = os.popen("%s -s %s -c %s -f '%s' 2>%s"

to 

ocr = os.popen('%s -s %s -c %s -f "%s" 2>%s'


sorry no patch

-- 
Luigi Pugnetti

Symbolic S.p.A.
V.le Mentana, 29
I-43100 Parma
Italy

Tel: +39 0521 708811
Fax: +39 0521 776190


_______________________________________________
spambayes-dev mailing list
spambayes-dev@python.org
http://mail.python.org/mailman/listinfo/spambayes-dev

Reply via email to