Skip to content
Snippets Groups Projects
Commit b653cb02 authored by Emmanuel Viennet's avatar Emmanuel Viennet
Browse files

max freq. notif. modif. codes Apo

parent a52bd6e7
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
import io import io
from zipfile import ZipFile, BadZipfile from zipfile import ZipFile, BadZipfile
from flask import Response
from flask import send_file, url_for from flask import send_file, url_for
from flask import g, request from flask import g, request
from flask_login import current_user from flask_login import current_user
...@@ -44,7 +45,7 @@ import app.scodoc.sco_utils as scu ...@@ -44,7 +45,7 @@ import app.scodoc.sco_utils as scu
# ---- Table recap formation # ---- Table recap formation
def formation_table_recap(formation_id, format="html"): def formation_table_recap(formation_id, format="html") -> Response:
"""Table recapitulant formation.""" """Table recapitulant formation."""
T = [] T = []
formation = Formation.query.get_or_404(formation_id) formation = Formation.query.get_or_404(formation_id)
......
...@@ -704,6 +704,7 @@ def do_import_etuds_from_portal(sem, a_importer, etudsapo_ident): ...@@ -704,6 +704,7 @@ def do_import_etuds_from_portal(sem, a_importer, etudsapo_ident):
typ=ScolarNews.NEWS_INSCR, typ=ScolarNews.NEWS_INSCR,
text="Import Apogée de %d étudiants en " % len(created_etudids), text="Import Apogée de %d étudiants en " % len(created_etudids),
obj=sem["formsemestre_id"], obj=sem["formsemestre_id"],
max_frequency=10 * 60, # 10'
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment