1
0
mirror of synced 2024-11-21 16:54:23 +01:00

Don't keep [trash] files when processing MS Office files

This commit is contained in:
jvoisin 2021-03-14 14:35:29 +01:00
parent e2362b8620
commit 8b42b28b70

View File

@ -108,6 +108,7 @@ class MSOfficeParser(ZipParser):
r'^ppt/slideMasters/_rels/slideMaster[0-9]+\.xml\.rels',
}))
self.files_to_omit = set(map(re.compile, { # type: ignore
r'^\[trash\]/',
r'^customXml/',
r'webSettings\.xml$',
r'^docProps/custom\.xml$',