1
0
mirror of synced 2024-12-22 04:39:58 +01:00

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

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