Changeset 520 for pkpgcounter/trunk/pkpgpdls/escpages03.py
- Timestamp:
- 11/28/07 00:52:52 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/escpages03.py
r491 r520 35 35 def isValid(self) : 36 36 """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) : 39 39 self.logdebug("DEBUG: Input file is in the ESC/PageS03 format.") 40 40 return True