From 1b361ec27e2df1a0585c2db0851fb8bd6d6904b6 Mon Sep 17 00:00:00 2001
From: Romain Vigier <romain@romainvigier.fr>
Date: Thu, 12 Nov 2020 22:46:14 +0100
Subject: [PATCH] Don't set a default value when retrieving Xmlns key for SVG
 metadata

---
 libmat2/images.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmat2/images.py b/libmat2/images.py
index 2098569..86e6b17 100644
--- a/libmat2/images.py
+++ b/libmat2/images.py
@@ -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
 
-- 
GitLab