diff options
Diffstat (limited to 'lib/office.py')
| -rw-r--r-- | lib/office.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/office.py b/lib/office.py index e21805a..f236d09 100644 --- a/lib/office.py +++ b/lib/office.py | |||
| @@ -103,9 +103,7 @@ class OpenDocumentStripper(archive.GenericArchiveStripper): | |||
| 103 | zipin.close() | 103 | zipin.close() |
| 104 | czf = archive.ZipStripper(self.filename, self.parser, | 104 | czf = archive.ZipStripper(self.filename, self.parser, |
| 105 | 'application/zip', self.backup, self.add2archive) | 105 | 'application/zip', self.backup, self.add2archive) |
| 106 | if czf.is_clean(): | 106 | if not czf.is_clean(): |
| 107 | return True | ||
| 108 | else: | ||
| 109 | return False | 107 | return False |
| 110 | return True | 108 | return True |
| 111 | 109 | ||
