From ec82d27e1f5b1fd0f712059ebdbec45d8b3aacd6 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 22 Oct 2024 15:02:08 +0200 Subject: [PATCH] refcomp_load en mode non debug --- app/views/refcomp.py | 3 --- sco_version.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/views/refcomp.py b/app/views/refcomp.py index e263afba7..420ad7e8f 100644 --- a/app/views/refcomp.py +++ b/app/views/refcomp.py @@ -245,9 +245,6 @@ def refcomp_load(formation_id=None): log(f"refcomp_load: ignoring {filename} (already loaded)") form = RefCompLoadForm() - if current_app and not current_app.config["DEBUG"]: - form.upload.render_kw = {"disabled": "disabled"} - form.referentiel_standard.choices = [ (r["id"], f"{r['specialite']} ({r['created']}-{r['serial']})") for r in refs_distrib_dict diff --git a/sco_version.py b/sco_version.py index 1dae32442..ec2d66b17 100644 --- a/sco_version.py +++ b/sco_version.py @@ -3,7 +3,7 @@ "Infos sur version ScoDoc" -SCOVERSION = "9.7.32" +SCOVERSION = "9.7.33" SCONAME = "ScoDoc"