diff options
| author | jvoisin | 2011-08-04 16:12:22 +0200 |
|---|---|---|
| committer | jvoisin | 2011-08-04 16:12:22 +0200 |
| commit | ad31d77e6a199295ba44832abec35b054d04bced (patch) | |
| tree | 15a4ce04cb70812d663108517dae35440f343d41 /lib/office.py | |
| parent | b8491275fc93385236a0bc3856ecaf3acaab6b63 (diff) | |
Cleanup
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 | ||
