forked from ScoDoc/DocScoDoc
Fix: erreur si titre module null
This commit is contained in:
parent
cf939587b1
commit
5c90448656
@ -1115,9 +1115,8 @@ def formsemestre_tableau_modules(
|
||||
H = []
|
||||
prev_ue_id = None
|
||||
for modimpl in modimpls:
|
||||
# mod = modimpl["module"]
|
||||
mod = Module.query.get(modimpl["module_id"])
|
||||
mod_descr = "Module " + mod.titre
|
||||
mod_descr = "Module " + mod.titre or ""
|
||||
if mod.is_apc():
|
||||
coef_descr = ", ".join(
|
||||
[f"{ue_acro}: {co}" for ue_acro, co in mod.ue_coefs_descr()]
|
||||
|
Loading…
Reference in New Issue
Block a user