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"):
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)
if gen_class is not None:
break

View File

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