From cc3f5d393f586de53c5a217cc421f7cdc1d37713 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 22 Feb 2024 13:34:03 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20passage=20d'un=20semestre=20=C3=A0=20l'a?= =?UTF-8?q?utre=20sans=20d=C3=A9cision=20de=20jury?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scodoc/sco_inscr_passage.py | 15 ++++++++------- sco_version.py | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/scodoc/sco_inscr_passage.py b/app/scodoc/sco_inscr_passage.py index 4f881022..59de8721 100644 --- a/app/scodoc/sco_inscr_passage.py +++ b/app/scodoc/sco_inscr_passage.py @@ -68,7 +68,7 @@ def _list_authorized_etuds_by_sem( for src_formsemestre in src_sems: if ignore_jury: # liste de tous les inscrits au semestre (sans dems) - etud_list = list_inscrits(formsemestre.id).values() + etud_list = list_inscrits(src_formsemestre.id).values() else: # liste des étudiants autorisés par le jury à s'inscrire ici etud_list = _list_etuds_from_sem(src_formsemestre, formsemestre) @@ -312,13 +312,14 @@ def formsemestre_inscr_passage( # -- check lock if not formsemestre.etat: raise ScoValueError("opération impossible: semestre verrouille") - header = html_sco_header.sco_header( - page_title="Passage des étudiants", - init_qtip=True, - javascripts=["js/etud_info.js"], - ) + H = [ + html_sco_header.sco_header( + page_title="Passage des étudiants", + init_qtip=True, + javascripts=["js/etud_info.js"], + ) + ] footer = html_sco_header.sco_footer() - H = [header] etuds = [] if etuds is None else etuds if isinstance(etuds, str): # string, vient du form de confirmation diff --git a/sco_version.py b/sco_version.py index 28432693..d8f291dd 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.6.941" +SCOVERSION = "9.6.942" SCONAME = "ScoDoc"