Skip to content
Snippets Groups Projects
Commit b93fdebb authored by Emmanuel Viennet's avatar Emmanuel Viennet
Browse files

cosmetic

parent d3672423
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ def do_ue_create(args, allow_empty_ue_code=False) -> UniteEns:
if args["coefficient"] == "":
args["coefficient"] = None
args["ects"] = args.get("ects", None)
if args["ects"].strip() == "":
if args["ects"] is not None and args["ects"].strip() == "":
args["ects"] = None
# create
......
......@@ -144,7 +144,7 @@ def formsemestre_recapcomplet(
("evals", "Avec toutes les évaluations"),
("xlsx", "Excel (non formaté)"),
("xlsall", "Excel avec évaluations"),
("xlsvisible", "Excel avec colonnes telles affichées"),
("xlsvisible", "Excel avec colonnes telles qu'affichées"),
("json", "Bulletins JSON"),
):
if fmt == tabformat:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment