1
0
forked from ScoDoc/ScoDoc

Ne met pas en attente les evals immediates sans aucune notes.

This commit is contained in:
Emmanuel Viennet 2021-02-16 19:45:40 +01:00
parent cf83228dcb
commit 012bb0292a

View File

@ -133,11 +133,6 @@ def do_evaluation_etat(
à ce module ont des notes)
evalattente est vrai s'il ne manque que des notes en attente
"""
# global _DEE_TOT
# t0=time.time()
# if evaluation_id == 'GEAEVAL82883':
# log('do_evaluation_etat: evaluation_id=%s partition_id=%s sfp=%s' % (evaluation_id, partition_id, select_first_partition))
nb_inscrits = len(
sco_groups.do_evaluation_listeetuds_groups(
context, evaluation_id, getallstudents=True
@ -238,7 +233,7 @@ def do_evaluation_etat(
else:
complete = True
if (
TotalNbMissing > 0
TotalNbAtt > 0
and (TotalNbMissing == TotalNbAtt or E["publish_incomplete"] != "0")
and not is_malus
):