fix selection groupe saisie note

This commit is contained in:
Emmanuel Viennet 2021-09-15 23:02:11 +02:00
parent 5efc493542
commit 6dba8933c4

View File

@ -861,7 +861,7 @@ def saisie_notes(evaluation_id, group_ids=[], REQUEST=None):
"""Formulaire saisie notes d'une évaluation pour un groupe"""
authuser = REQUEST.AUTHENTICATED_USER
authusername = str(authuser)
group_ids = [int(group_id) for group_id in group_ids]
evals = sco_evaluations.do_evaluation_list({"evaluation_id": evaluation_id})
if not evals:
raise ScoValueError("invalid evaluation_id")