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