Fix: choix format bulletin PDF BUT si préférence modifiée

This commit is contained in:
Emmanuel Viennet 2023-09-12 21:23:05 +02:00
parent 1f5422f621
commit 3eb8869349
2 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ def make_formsemestre_bulletin_etud(
): ):
if bul_dict.get("type") == "BUT" and fmt.startswith("pdf"): if bul_dict.get("type") == "BUT" and fmt.startswith("pdf"):
gen_class = bulletin_get_class(bul_class_name + "BUT") gen_class = bulletin_get_class(bul_class_name + "BUT")
if gen_class is None: if gen_class is None and bul_dict.get("type") != "BUT":
gen_class = bulletin_get_class(bul_class_name) gen_class = bulletin_get_class(bul_class_name)
if gen_class is not None: if gen_class is not None:
break break

View File

@ -1,7 +1,7 @@
# -*- mode: python -*- # -*- mode: python -*-
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
SCOVERSION = "9.6.27" SCOVERSION = "9.6.28"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"