diff --git a/app/but/bulletin_but_pdf.py b/app/but/bulletin_but_pdf.py index ef1f1e41f..f849cebc7 100644 --- a/app/but/bulletin_but_pdf.py +++ b/app/but/bulletin_but_pdf.py @@ -427,12 +427,11 @@ class BulletinGeneratorStandardBUT(BulletinGeneratorStandard): if e["evaluation_type"] == Evaluation.EVALUATION_NORMALE else "*" ) + note_value = e["note"].get("value", "") t = { "titre": f"{e['description'] or ''}", - "moyenne": e["note"]["value"], - "_moyenne_pdf": Paragraph( - f"""{e["note"]["value"]}""" - ), + "moyenne": note_value, + "_moyenne_pdf": Paragraph(f"""{note_value}"""), "coef": coef, "_coef_pdf": Paragraph( f"""{ diff --git a/sco_version.py b/sco_version.py index 0a6614920..16ddaebd3 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.6.964" +SCOVERSION = "9.6.965" SCONAME = "ScoDoc"