summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index 958efd5..c4dfc93 100644
--- a/app.py
+++ b/app.py
@@ -40,7 +40,7 @@ def index():
40 chaine = fichier.read() 40 chaine = fichier.read()
41 val_form2 = donnees.fichier_json_vers_configdonnees(chaine,liste_err) 41 val_form2 = donnees.fichier_json_vers_configdonnees(chaine,liste_err)
42 if val_form2 == {}: 42 if val_form2 == {}:
43 return flask.render_template("index.html",err=liste_err[2]+liste_err[1]+liste_err[0],valform=val_form) 43 return flask.render_template("index.html",err=liste_err[2]+liste_err[1]+liste_err[0],valform=val_form, CONFIG=CONFIG, beta=beta)
44 val_form.update(val_form2) 44 val_form.update(val_form2)
45 45
46 return flask.render_template("index.html",err=liste_err[1],valform=val_form, CONFIG=CONFIG, beta=beta) 46 return flask.render_template("index.html",err=liste_err[1],valform=val_form, CONFIG=CONFIG, beta=beta)