1
0
forked from ScoDoc/ScoDoc

max freq. notif. modif. codes Apo

This commit is contained in:
Emmanuel Viennet 2022-04-21 14:33:11 +02:00
parent a52bd6e7fe
commit b653cb0218
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,7 @@
import io
from zipfile import ZipFile, BadZipfile
from flask import Response
from flask import send_file, url_for
from flask import g, request
from flask_login import current_user
@ -44,7 +45,7 @@ import app.scodoc.sco_utils as scu
# ---- Table recap formation
def formation_table_recap(formation_id, format="html"):
def formation_table_recap(formation_id, format="html") -> Response:
"""Table recapitulant formation."""
T = []
formation = Formation.query.get_or_404(formation_id)

View File

@ -704,6 +704,7 @@ def do_import_etuds_from_portal(sem, a_importer, etudsapo_ident):
typ=ScolarNews.NEWS_INSCR,
text="Import Apogée de %d étudiants en " % len(created_etudids),
obj=sem["formsemestre_id"],
max_frequency=10 * 60, # 10'
)