Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
jvoisin
mat2
Commits
b84f73c5
Commit
b84f73c5
authored
Nov 06, 2020
by
jvoisin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle multiple namespaces in MSOffice's content types
parent
96e639df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libmat2/office.py
libmat2/office.py
+1
-1
No files found.
libmat2/office.py
View file @
b84f73c5
...
...
@@ -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
namespace
s
for Types
: %s"
,
namespace
.
items
())
removed_fnames
=
set
()
with
zipfile
.
ZipFile
(
self
.
filename
)
as
zin
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment