Show
Ignore:
Timestamp:
07/20/06 15:33:11 (18 years ago)
Author:
jerome
Message:

Fixed very important bug in file type autodetection code.

Location:
pkpgcounter/trunk/pkpgpdls
Files:
2 modified

Legend:

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

    r339 r343  
    8686           self.firstblock.startswith("\033%8\033") or \ 
    8787           (self.firstblock.find("\033%-12345X") != -1) or \ 
    88            self.firstblock.find("@PJL ENTER LANGUAGE=PCL\012\015\033") or \ 
     88           (self.firstblock.find("@PJL ENTER LANGUAGE=PCL\012\015\033") != -1) or \ 
    8989           (self.firstblock.startswith(chr(0xcd)+chr(0xca)) and self.firstblock.find("\033E\033")) : 
    9090            self.logdebug("DEBUG: Input file is in the PCL3/4/5 format.") 
  • pkpgcounter/trunk/pkpgpdls/version.py

    r339 r343  
    2020# 
    2121 
    22 __version__ = "1.82" 
     22__version__ = "1.83" 
    2323 
    2424__doc__ = """pkpgcounter : a generic Page Description Languages parser."""