From aab3cc7ce34be75c7bdc108370c84bbeee5f29a6 Mon Sep 17 00:00:00 2001 From: viennet Date: Mon, 28 Sep 2020 16:18:14 +0200 Subject: [PATCH] Closes #34 --- sco_recapcomplet.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sco_recapcomplet.py b/sco_recapcomplet.py index 54f94974f..d18d6e18e 100644 --- a/sco_recapcomplet.py +++ b/sco_recapcomplet.py @@ -452,7 +452,10 @@ def make_formsemestre_recapcomplet( l.append("") else: if key == "ects": - l.append(ue[key]) + if keep_numeric: + l.append(ue[key]) + else: + l.append(str(ue[key])) else: l.append(fmt_note(ue[key], keep_numeric=keep_numeric)) else: # UE_SPORT: