From 373feece761f137ede68a3df38867fdd1c419581 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 24 Sep 2021 11:12:49 +0200 Subject: [PATCH] fix: POST suppr. photo --- app/scodoc/sco_abs_views.py | 3 --- app/views/scolar.py | 2 +- sco_version.py | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/scodoc/sco_abs_views.py b/app/scodoc/sco_abs_views.py index 6408abd14..a14827ad0 100644 --- a/app/scodoc/sco_abs_views.py +++ b/app/scodoc/sco_abs_views.py @@ -86,7 +86,6 @@ def doSignaleAbsence( jour, False, estjust, - REQUEST, description_abs, moduleimpl_id, ) @@ -95,7 +94,6 @@ def doSignaleAbsence( jour, True, estjust, - REQUEST, description_abs, moduleimpl_id, ) @@ -106,7 +104,6 @@ def doSignaleAbsence( jour, demijournee, estjust, - REQUEST, description_abs, moduleimpl_id, ) diff --git a/app/views/scolar.py b/app/views/scolar.py index f6af76871..ec082ce66 100644 --- a/app/views/scolar.py +++ b/app/views/scolar.py @@ -851,7 +851,7 @@ def formChangePhoto(etudid=None, REQUEST=None): return "\n".join(H) + html_sco_header.sco_footer() -@bp.route("/formSuppressPhoto") +@bp.route("/formSuppressPhoto", methods=["POST", "GET"]) @scodoc @permission_required(Permission.ScoEtudChangeAdr) @scodoc7func diff --git a/sco_version.py b/sco_version.py index 97ef6ed8b..659247449 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.0.35" +SCOVERSION = "9.0.36" SCONAME = "ScoDoc"