1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-13 10:04:24 +02:00

Updated the logging of the actions

This commit is contained in:
Thomas Bui
2021-02-21 18:50:09 -08:00
parent b627c573b5
commit f246192fe6
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ def check_svgs(svg_file_paths: List[Path]):
tree = et.parse(svg_path)
root = tree.getroot()
namespace = "{http://www.w3.org/2000/svg}"
err_msg = [f"{svg_path.name}:"]
err_msg = [f"{svg_path}:"]
if root.tag != f"{namespace}svg":
err_msg.append(f"-root is '{root.tag}'. Root must be an 'svg' element")