1
0
Fork 0

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

This commit is contained in:
Romain Vigier 2020-11-12 22:46:14 +01:00
parent 58a1563a99
commit 1b361ec27e
No known key found for this signature in database
GPG Key ID: EB8152444509C709
1 changed files with 1 additions and 1 deletions

View File

@ -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