fix: POST suppr. photo

This commit is contained in:
Emmanuel Viennet 2021-09-24 11:12:49 +02:00
parent 6d1ffb122b
commit 373feece76
3 changed files with 2 additions and 5 deletions

View File

@ -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,
)

View File

@ -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

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.0.35"
SCOVERSION = "9.0.36"
SCONAME = "ScoDoc"