Verified Commit 1b361ec2 authored by Romain's avatar Romain

Don't set a default value when retrieving Xmlns key for SVG metadata

parent 58a1563a
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment