Show
Ignore:
Timestamp:
11/20/07 00:56:15 (16 years ago)
Author:
jerome
Message:

Even more code cleaning : we use named temporary files now, so no need for pipes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/pdf.py

    r491 r492  
    4343class Parser(pdlparser.PDLParser) : 
    4444    """A parser for PDF documents.""" 
    45     totiffcommands = [ 'gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r%(dpi)i -sOutputFile="%(fname)s" -' ] 
     45    totiffcommands = [ 'gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r"%(dpi)i" -sOutputFile="%(outfname)s" "%(infname)s"' ] 
    4646    openmode = "rU" 
    4747    def isValid(self) :