update --check: do not print a note twice

This commit is contained in:
Niko1221 committed 2026-10-15 17:49:49 +02:00
1 parent d949d600f8
commit 0c37d0e285
1 file changed
+1 -1
+1 -1
View File
@@ -141,7 +141,7 @@ def _print_check(report: dict) -> None:
print(f" Engine {text}")
for reason in eng.get("reasons") or []:
print(f" - {reason}")
if eng.get("note"):
if eng.get("note") and eng["status"] not in ("failed-before", "skipped", "current"):
print(f" {eng['note']}")
if ctl["status"] == "not-in-feed":
print(" Control not part of this feed")