From db2d69da88c0c5d18a29f0107c50e6a4946a1b91 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Mon, 29 May 2023 16:04:41 +0200 Subject: [PATCH] Nettoyage code + exception save note --- app/scodoc/sco_saisie_notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_saisie_notes.py b/app/scodoc/sco_saisie_notes.py index 6c470777..f9f39bf3 100644 --- a/app/scodoc/sco_saisie_notes.py +++ b/app/scodoc/sco_saisie_notes.py @@ -584,7 +584,7 @@ def notes_add( evaluation_id=evaluation_id, etudid=etudid ).first() raise ScoBugCatcher( - f"dup: existing={existing_note} value={value}" + f"dup: existing={existing_note}" ) from exc changed = True else: