From 3193c8877939f3e7608d21c4e5b9f6b3fffa903e Mon Sep 17 00:00:00 2001 From: 283375 Date: Sat, 23 Sep 2023 22:55:43 +0800 Subject: [PATCH] fix: `ignored` tag --- project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.py b/project.py index 263a549..93b6080 100644 --- a/project.py +++ b/project.py @@ -220,7 +220,7 @@ class Project: list(self.redactSourcesYield()) def classify(self, sample: Path, tag: str): - if tag not in self.tags: + if tag != "ignored" and tag not in self.tags: raise ValueError(f'Unknown tag "{tag}"') with self.__sessionmaker() as session: