chore(ens): do not apply recomendation type to score (#3058)

This commit is contained in:
Sergio Garcia
2023-12-11 10:53:26 +01:00
committed by GitHub
parent c9baff1a7f
commit 1be52fab06

View File

@@ -401,7 +401,8 @@ def display_compliance_table(
"Bajo": 0,
}
if finding.status == "FAIL":
fail_count += 1
if attribute.Tipo != "recomendacion":
fail_count += 1
marcos[marco_categoria][
"Estado"
] = f"{Fore.RED}NO CUMPLE{Style.RESET_ALL}"