mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-22 13:36:26 +02:00
Fix tags processing.
This commit is contained in:
parent
e31719eda7
commit
eaa90663e9
6 changed files with 59 additions and 49 deletions
|
@ -2,7 +2,7 @@
|
|||
Test icon generation for nodes.
|
||||
"""
|
||||
from pathlib import Path
|
||||
from typing import Dict, Tuple
|
||||
from typing import Dict, Tuple, Set
|
||||
|
||||
import pytest
|
||||
|
||||
|
@ -48,7 +48,8 @@ def get_icon(tags: Dict[str, str]) -> IconSet:
|
|||
"""
|
||||
Construct icon from tags.
|
||||
"""
|
||||
icon, _ = SCHEME.get_icon(SHAPE_EXTRACTOR, tags)
|
||||
processed: Set[str] = set()
|
||||
icon, _ = SCHEME.get_icon(SHAPE_EXTRACTOR, tags, processed)
|
||||
return icon
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue