forked from ScoDoc/DocScoDoc
fix: recap jour null
This commit is contained in:
parent
a22ab4df2f
commit
95d65f05a1
@ -853,7 +853,13 @@ def _list_notes_evals_titles(codemodule: str, evals: list[Evaluation]) -> list[s
|
|||||||
L = []
|
L = []
|
||||||
eval_index = len(evals) - 1
|
eval_index = len(evals) - 1
|
||||||
for e in evals:
|
for e in evals:
|
||||||
L.append(codemodule + "-" + str(eval_index) + "-" + e.jour.isoformat())
|
L.append(
|
||||||
|
codemodule
|
||||||
|
+ "-"
|
||||||
|
+ str(eval_index)
|
||||||
|
+ "-"
|
||||||
|
+ (e.jour.isoformat() if e.jour else "")
|
||||||
|
)
|
||||||
eval_index -= 1
|
eval_index -= 1
|
||||||
return L
|
return L
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user