Handle multiple namespaces in MSOffice's content types
This commit is contained in:
parent
96e639dfd3
commit
b84f73c5c3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue