diff options
| author | jvoisin | 2011-08-05 11:42:40 +0200 |
|---|---|---|
| committer | jvoisin | 2011-08-05 11:42:40 +0200 |
| commit | 503e926812d35032ed527c81e78444f362a5d527 (patch) | |
| tree | 599cd3940e3883b8fc275fb924d5f2ca0ae34a07 /lib/archive.py | |
| parent | 943b0faf21883089827d976c48a231293c091640 (diff) | |
Support of openxml office format
Diffstat (limited to 'lib/archive.py')
| -rw-r--r-- | lib/archive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/archive.py b/lib/archive.py index 5956a1e..fb15705 100644 --- a/lib/archive.py +++ b/lib/archive.py | |||
| @@ -97,7 +97,7 @@ harmless format' % item.filename) | |||
| 97 | _, ext = os.path.splitext(name) | 97 | _, ext = os.path.splitext(name) |
| 98 | bname = os.path.basename(item.filename) | 98 | bname = os.path.basename(item.filename) |
| 99 | if ext not in parser.NOMETA: | 99 | if ext not in parser.NOMETA: |
| 100 | if bname != 'mimetype': | 100 | if bname != 'mimetype' and bname != '.rels': |
| 101 | return False | 101 | return False |
| 102 | mat.secure_remove(name) | 102 | mat.secure_remove(name) |
| 103 | zipin.close() | 103 | zipin.close() |
