diff --git a/app/scodoc/sco_recapcomplet.py b/app/scodoc/sco_recapcomplet.py index 3b87f8f5..90ca8968 100644 --- a/app/scodoc/sco_recapcomplet.py +++ b/app/scodoc/sco_recapcomplet.py @@ -853,7 +853,13 @@ def _list_notes_evals_titles(codemodule: str, evals: list[Evaluation]) -> list[s L = [] eval_index = len(evals) - 1 for e in evals: - L.append(codemodule + "-" + str(eval_index) + "-" + e.jour.isoformat()) + L.append( + codemodule + + "-" + + str(eval_index) + + "-" + + (e.jour.isoformat() if e.jour else "") + ) eval_index -= 1 return L