Don't keep [trash] files when processing MS Office files
This commit is contained in:
parent
e2362b8620
commit
8b42b28b70
@ -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$',
|
||||
|
Loading…
Reference in New Issue
Block a user