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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qc_app/entry.py') 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 -- cgit v1.2.3