Changeset 520 for pkpgcounter/trunk/pkpgpdls/ooo.py
- Timestamp:
- 11/28/07 00:52:52 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/ooo.py
r491 r520 32 32 def isValid(self) : 33 33 """Returns True if data is OpenDocument, else False.""" 34 if self. firstblock[:2] == "PK" :34 if self.parent.firstblock[:2] == "PK" : 35 35 try : 36 36 self.archive = zipfile.ZipFile(self.infile)