diff options
-rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |