From 53a1f36b4e910ea9706d427530b5fa6acfe917cc Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 20 May 2022 10:28:22 +0300 Subject: Use standard-error rather than standard_error for consistency The CLI scripts use "standard-error" so update the web version to fit in with that. --- qc_app/entry.py | 2 +- qc_app/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qc_app/entry.py b/qc_app/entry.py index f91e59d..b7b4b6f 100644 --- a/qc_app/entry.py +++ b/qc_app/entry.py @@ -20,7 +20,7 @@ def upload_file(): return render_template("index.html") errors = False - if request.form["filetype"] not in ("average", "standard_error"): + if request.form["filetype"] not in ("average", "standard-error"): flash("Invalid file type provided.", "alert-error") errors = True diff --git a/qc_app/templates/index.html b/qc_app/templates/index.html index 9a69bc5..28aaa7f 100644 --- a/qc_app/templates/index.html +++ b/qc_app/templates/index.html @@ -24,7 +24,7 @@ required="required" /> - -- cgit v1.2.3