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
1b361ec2
Verified
Commit
1b361ec2
authored
Nov 12, 2020
by
Romain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't set a default value when retrieving Xmlns key for SVG metadata
parent
58a1563a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libmat2/images.py
libmat2/images.py
+1
-1
No files found.
libmat2/images.py
View file @
1b361ec2
...
...
@@ -41,7 +41,7 @@ class SVGParser(exiftool.ExiftoolParser):
# The namespace is mandatory, but only the …/2000/svg is valid.
ns
=
'http://www.w3.org/2000/svg'
if
meta
.
get
(
'Xmlns'
,
ns
)
==
ns
:
if
meta
.
get
(
'Xmlns'
)
==
ns
:
meta
.
pop
(
'Xmlns'
)
return
meta
...
...
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