From 012bb0292a33c95495d1eddcb46f564bf392eb7d Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 16 Feb 2021 19:45:40 +0100 Subject: [PATCH] Ne met pas en attente les evals immediates sans aucune notes. --- sco_evaluations.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sco_evaluations.py b/sco_evaluations.py index 5e5b17e4f9..21595fe0d6 100644 --- a/sco_evaluations.py +++ b/sco_evaluations.py @@ -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 ):