aboutsummaryrefslogtreecommitdiff
path: root/qc_app
diff options
context:
space:
mode:
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>