forked from ScoDoc/ScoDoc
Fix: poids dans bulletins
This commit is contained in:
parent
954aac24f4
commit
9b08357893
@ -179,7 +179,9 @@ class BulletinBUT:
|
|||||||
modimpls_evals_poids = self.res.modimpls_evals_poids[e.moduleimpl_id]
|
modimpls_evals_poids = self.res.modimpls_evals_poids[e.moduleimpl_id]
|
||||||
try:
|
try:
|
||||||
poids = {
|
poids = {
|
||||||
ue.acronyme: modimpls_evals_poids[ue.id][e.id] for ue in self.res.ues
|
ue.acronyme: modimpls_evals_poids[ue.id][e.id]
|
||||||
|
for ue in self.res.ues
|
||||||
|
if ue.type != UE_SPORT
|
||||||
}
|
}
|
||||||
except KeyError:
|
except KeyError:
|
||||||
poids = collections.defaultdict(lambda: 0.0)
|
poids = collections.defaultdict(lambda: 0.0)
|
||||||
|
Loading…
Reference in New Issue
Block a user