Changeset 522 for pkpgcounter/trunk/pkpgpdls/zjstream.py
- Timestamp:
- 11/28/07 11:13:33 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/zjstream.py
r520 r522 31 31 def isValid(self) : 32 32 """Returns True if data is ZjStream, else False.""" 33 if self. parent.firstblock[:4] == "ZJZJ" :33 if self.firstblock[:4] == "ZJZJ" : 34 34 self.logdebug("DEBUG: Input file is in the Zenographics ZjStream (little endian) format.") 35 35 return self.littleEndian() 36 elif self. parent.firstblock[:4] == "JZJZ" :36 elif self.firstblock[:4] == "JZJZ" : 37 37 self.logdebug("DEBUG: Input file is in the Zenographics ZjStream (big endian) format.") 38 38 return self.bigEndian()