Changeset 522 for pkpgcounter/trunk/pkpgpdls/escpages03.py
- Timestamp:
- 11/28/07 11:13:33 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/escpages03.py
r520 r522 35 35 def isValid(self) : 36 36 """Returns True if data is TIFF, else False.""" 37 if self. parent.firstblock.startswith("\033\1@EJL") and \38 (self. parent.firstblock.find("=ESC/PAGES03\n") != -1) :37 if self.firstblock.startswith("\033\1@EJL") and \ 38 (self.firstblock.find("=ESC/PAGES03\n") != -1) : 39 39 self.logdebug("DEBUG: Input file is in the ESC/PageS03 format.") 40 40 return True