Fix tableau bord module si aucune eval.

This commit is contained in:
Emmanuel Viennet 2022-12-16 05:25:04 -03:00 committed by iziram
parent 7b3c50620b
commit 3e3b09134d
2 changed files with 2 additions and 1 deletions

View File

@ -224,6 +224,7 @@ def moduleimpl_status(moduleimpl_id=None, partition_id=None):
max([p.poids for p in e.ue_poids] or [0]) * (e.coefficient or 0.0) max([p.poids for p in e.ue_poids] or [0]) * (e.coefficient or 0.0)
for e in evaluations for e in evaluations
] ]
or [0]
) )
# #
sem_locked = not sem["etat"] sem_locked = not sem["etat"]

View File

@ -1,7 +1,7 @@
# -*- mode: python -*- # -*- mode: python -*-
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
SCOVERSION = "9.4.14" SCOVERSION = "9.4.15"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"