Fix: edition semestre
This commit is contained in:
parent
4bec9a1713
commit
0e11ccb773
@ -129,7 +129,7 @@ class Module(db.Model):
|
|||||||
key_parcours = ""
|
key_parcours = ""
|
||||||
else:
|
else:
|
||||||
key_parcours = "/".join([p.code for p in self.parcours])
|
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:
|
def set_ue_coef(self, ue, coef: float) -> None:
|
||||||
"""Set coef module vers cette UE"""
|
"""Set coef module vers cette UE"""
|
||||||
|
Loading…
Reference in New Issue
Block a user