1
0
forked from ScoDoc/ScoDoc

Config: message flash si inchangée

This commit is contained in:
Emmanuel Viennet 2022-05-18 20:41:55 +02:00
parent b6af7d45c9
commit abffc00570

View File

@ -82,7 +82,9 @@ def configuration():
form_bonus.data["bonus_sport_func_name"]
)
app.clear_scodoc_cache()
flash(f"Fonction bonus sport&culture configurée.")
flash("""Fonction bonus sport&culture configurée.""")
else:
flash("Fonction bonus inchangée.")
return redirect(url_for("scodoc.index"))
elif form_scodoc.submit_scodoc.data and form_scodoc.validate():
if ScoDocSiteConfig.enable_entreprises(