aboutsummaryrefslogtreecommitdiff
path: root/qc_app
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-05-20 10:28:22 +0300
committerFrederick Muriuki Muriithi2022-05-20 10:28:22 +0300
commit53a1f36b4e910ea9706d427530b5fa6acfe917cc (patch)
tree4f92911a7a0d0bb3b727598c8ce2226630977d56 /qc_app
parent8462d4842dc2bbb69b1b8321d37ebd6d132b1298 (diff)
downloadgn-uploader-53a1f36b4e910ea9706d427530b5fa6acfe917cc.tar.gz
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.
Diffstat (limited to 'qc_app')
-rw-r--r--qc_app/entry.py2
-rw-r--r--qc_app/templates/index.html2
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" />
<label for="filetype_average">average</label>
- <input type="radio" name="filetype" value="standard_error"
+ <input type="radio" name="filetype" value="standard-error"
id="filetype_standard_error" required="required" />
<label for="filetype_standard_error">standard error</label>
</fieldset>