1
0
forked from ScoDoc/ScoDoc

Fix: edition semestre

This commit is contained in:
Emmanuel Viennet 2022-09-05 14:58:57 +02:00
parent 4bec9a1713
commit 0e11ccb773
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ class Module(db.Model):
key_parcours = ""
else:
key_parcours = "/".join([p.code for p in self.parcours])
return self.module_type, key_parcours, self.numero
return self.module_type, key_parcours, self.numero or 0
def set_ue_coef(self, ue, coef: float) -> None:
"""Set coef module vers cette UE"""