diff --git a/sco_bulletins_standard.py b/sco_bulletins_standard.py index dc5af80f8..77b9b4ffb 100644 --- a/sco_bulletins_standard.py +++ b/sco_bulletins_standard.py @@ -495,7 +495,7 @@ class BulletinGeneratorStandard(sco_bulletins_generator.BulletinGenerator): del t["module"] del t["coef"] t["_pdf_style"].append(("SPAN", (colidx["note"], 0), (-1, 0))) - # t["_module_colspan"] = 3 # non car bug si aucune colonne additionnelle + # t["_module_colspan"] = 3 # non car bug si aucune colonne additionnelle # UE électives if ue["type"] == UE_ELECTIVE: t["module"] += " (élective)" @@ -544,8 +544,7 @@ class BulletinGeneratorStandard(sco_bulletins_generator.BulletinGenerator): rowstyle="", hidden=False, ): - """Liste dans la table les descriptions des modules et, si version != short, des évaluations. - """ + """Liste dans la table les descriptions des modules et, si version != short, des évaluations.""" if ue_type == "cur": # UE courante non prise en compte (car capitalisee) pdf_style_bg = [("BACKGROUND", (0, 0), (-1, 0), self.PDF_UE_CUR_BG)] else: @@ -666,6 +665,8 @@ class BulletinGeneratorStandard(sco_bulletins_generator.BulletinGenerator): ) t["min"] = fmt_note(etat["mini"]) t["max"] = fmt_note(etat["maxi"]) + if prefs["bul_show_moypromo"]: + t["moy"] = fmt_note(etat["moy"]) P.append(t) nbeval += 1 return nbeval