Show
Ignore:
Timestamp:
11/28/07 00:52:52 (16 years ago)
Author:
jerome
Message:

Code cleaning.

Files:
1 modified

Legend:

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

    r491 r520  
    3535    def isValid(self) :         
    3636        """Returns True if data is TIFF, else False.""" 
    37         if self.firstblock.startswith("\033\1@EJL") and \ 
    38             (self.firstblock.find("=ESC/PAGES03\n") != -1) : 
     37        if self.parent.firstblock.startswith("\033\1@EJL") and \ 
     38            (self.parent.firstblock.find("=ESC/PAGES03\n") != -1) : 
    3939            self.logdebug("DEBUG: Input file is in the ESC/PageS03 format.") 
    4040            return True