mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-01 02:11:58 +02:00
Fix ignored tags processing.
This commit is contained in:
parent
9af7d5f2d9
commit
f5fa2049a6
2 changed files with 17 additions and 2 deletions
|
@ -477,3 +477,16 @@ class Scheme:
|
|||
if matcher.is_matched(tags):
|
||||
return True
|
||||
return False
|
||||
|
||||
def process_ignored(
|
||||
self, tags: Dict[str, str], processed: Set[str]
|
||||
) -> None:
|
||||
"""
|
||||
Mark all ignored tag as processed.
|
||||
|
||||
:param tags: input tag dictionary
|
||||
:param processed: processed set
|
||||
"""
|
||||
for tag in tags:
|
||||
if self.is_no_drawable(tag):
|
||||
processed.add(tag)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue