Fix ignored tags processing.

This commit is contained in:
Sergey Vartanov 2021-07-04 22:52:26 +03:00
parent 9af7d5f2d9
commit f5fa2049a6
2 changed files with 17 additions and 2 deletions

View file

@ -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)