Decent quality is now at least level 5

This commit is contained in:
Alexandre Aubin 2019-09-27 17:42:56 +02:00
parent a2ecbb9d8b
commit babaf541b6

View file

@ -823,7 +823,7 @@ def app_install(operation_logger, app, label=None, args=None, no_remove_on_failu
level = raw_app_list[app_name_to_test].get("level", None)
confirm = "danger"
if state in ["working", "validated"]:
if isinstance(level, int) and level >= 3:
if isinstance(level, int) and level >= 5:
confirm = None
elif isinstance(level, int) and level > 0:
confirm = "warning"