refcomp_load en mode non debug

This commit is contained in:
Emmanuel Viennet 2024-10-22 15:02:08 +02:00
parent 74f3a7399f
commit ec82d27e1f
2 changed files with 1 additions and 4 deletions

View File

@ -245,9 +245,6 @@ def refcomp_load(formation_id=None):
log(f"refcomp_load: ignoring {filename} (already loaded)") log(f"refcomp_load: ignoring {filename} (already loaded)")
form = RefCompLoadForm() form = RefCompLoadForm()
if current_app and not current_app.config["DEBUG"]:
form.upload.render_kw = {"disabled": "disabled"}
form.referentiel_standard.choices = [ form.referentiel_standard.choices = [
(r["id"], f"{r['specialite']} ({r['created']}-{r['serial']})") (r["id"], f"{r['specialite']} ({r['created']}-{r['serial']})")
for r in refs_distrib_dict for r in refs_distrib_dict

View File

@ -3,7 +3,7 @@
"Infos sur version ScoDoc" "Infos sur version ScoDoc"
SCOVERSION = "9.7.32" SCOVERSION = "9.7.33"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"