Handle multiple namespaces in MSOffice's content types
This commit is contained in:
parent
96e639dfd3
commit
b84f73c5c3
@ -271,7 +271,7 @@ class MSOfficeParser(ZipParser):
|
||||
return False
|
||||
|
||||
if len(namespace.items()) != 1:
|
||||
return False # there should be only one namespace for Types
|
||||
logging.debug("Got several namespaces for Types: %s", namespace.items())
|
||||
|
||||
removed_fnames = set()
|
||||
with zipfile.ZipFile(self.filename) as zin:
|
||||
|
Loading…
Reference in New Issue
Block a user