From 5280b6c2b3456a6083b5cf520796847b14225ed9 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 22 Jul 2019 23:20:37 +0200 Subject: Add a test for svg namespace --- libmat2/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat2') diff --git a/libmat2/images.py b/libmat2/images.py index 8bef3f8..2781e05 100644 --- a/libmat2/images.py +++ b/libmat2/images.py @@ -37,7 +37,7 @@ class SVGParser(exiftool.ExiftoolParser): def get_meta(self) -> Dict[str, Union[str, dict]]: meta = super().get_meta() - # The namespace is mandatory, but thereis only one bossible. + # The namespace is mandatory, but only the …/2000/svg is valid. ns = 'http://www.w3.org/2000/svg' if meta.get('Xmlns', ns) == ns: meta.pop('Xmlns') -- cgit v1.3