forked from ScoDoc/ScoDoc
Ne met pas en attente les evals immediates sans aucune notes.
This commit is contained in:
parent
cf83228dcb
commit
012bb0292a
@ -133,11 +133,6 @@ def do_evaluation_etat(
|
|||||||
à ce module ont des notes)
|
à ce module ont des notes)
|
||||||
evalattente est vrai s'il ne manque que des notes en attente
|
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(
|
nb_inscrits = len(
|
||||||
sco_groups.do_evaluation_listeetuds_groups(
|
sco_groups.do_evaluation_listeetuds_groups(
|
||||||
context, evaluation_id, getallstudents=True
|
context, evaluation_id, getallstudents=True
|
||||||
@ -238,7 +233,7 @@ def do_evaluation_etat(
|
|||||||
else:
|
else:
|
||||||
complete = True
|
complete = True
|
||||||
if (
|
if (
|
||||||
TotalNbMissing > 0
|
TotalNbAtt > 0
|
||||||
and (TotalNbMissing == TotalNbAtt or E["publish_incomplete"] != "0")
|
and (TotalNbMissing == TotalNbAtt or E["publish_incomplete"] != "0")
|
||||||
and not is_malus
|
and not is_malus
|
||||||
):
|
):
|
||||||
|
Loading…
Reference in New Issue
Block a user