Don't set a default value when retrieving Xmlns key for SVG metadata
This commit is contained in:
parent
58a1563a99
commit
1b361ec27e
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user