From 2ad77428a52a6aa854c372da7ede4d35222f6a96 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 22 Jan 2024 13:38:04 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20d=C3=A9sactive=20etat=5Fabs=5Fdate=20si?= =?UTF-8?q?=20=C3=A9valuation=20sans=20date=20de=20fin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_moduleimpl_status.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/scodoc/sco_moduleimpl_status.py b/app/scodoc/sco_moduleimpl_status.py index 5f01a3bf..e97716b6 100644 --- a/app/scodoc/sco_moduleimpl_status.py +++ b/app/scodoc/sco_moduleimpl_status.py @@ -134,7 +134,8 @@ def moduleimpl_evaluation_menu(evaluation: Evaluation, nbnotes: int = 0) -> str: if evaluation.date_fin else "", }, - "enabled": evaluation.date_debut is not None, + "enabled": evaluation.date_debut is not None + and evaluation.date_fin is not None, }, { "title": "VĂ©rifier notes vs absents",