Changeset 522 for pkpgcounter/trunk/pkpgpdls/dvi.py
- Timestamp:
- 11/28/07 11:13:33 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/dvi.py
r520 r522 36 36 """Returns True if data is DVI, else False.""" 37 37 try : 38 if (ord(self. parent.firstblock[0]) == 0xf7) \39 and (ord(self. parent.lastblock[-1]) == 0xdf) :38 if (ord(self.firstblock[0]) == 0xf7) \ 39 and (ord(self.lastblock[-1]) == 0xdf) : 40 40 self.logdebug("DEBUG: Input file is in the DVI format.") 41 41 return True