From 1671644c0760254bf87603ed7da5c7793cff242b Mon Sep 17 00:00:00 2001 From: napakalas Date: Wed, 28 Jan 2026 11:10:02 +1300 Subject: [PATCH] Fix bug by changing the svg_tags 'class' key from a list to a dict (#170). --- tools/flatmap_diagnostic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/flatmap_diagnostic.py b/tools/flatmap_diagnostic.py index fa76d215..2caf8c68 100755 --- a/tools/flatmap_diagnostic.py +++ b/tools/flatmap_diagnostic.py @@ -193,7 +193,7 @@ def __init__(self, manifest_file, sckan_knowledge): # svg info # check class, id, type - self.__svg_tags = {'id':{}, 'class':[]} + self.__svg_tags = {'id': {}, 'class': {}} for svg_source in self.__manifest['sources']: tree = etree.parse(manifest_file.with_name(svg_source['href'])) root = tree.getroot()