Rename data/tags.yml to scheme/default.yml.

This commit is contained in:
Sergey Vartanov 2021-05-07 01:21:11 +03:00
parent cbbd7bcf05
commit 0f3888430b
7 changed files with 5 additions and 5 deletions

View file

@ -127,7 +127,7 @@ def draw_element(target: str, tags_description: str):
comma, key from value is separated by equals sign.
"""
tags = dict([x.split("=") for x in tags_description.split(",")])
scheme = Scheme("data/tags.yml")
scheme = Scheme("scheme/default.yml")
icon_extractor = IconExtractor("icons/icons.svg")
icon, priority = scheme.get_icon(icon_extractor, tags)
is_for_node: bool = target == "node"