aboutsummaryrefslogtreecommitdiff
path: root/qc_app
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-06-21 12:28:02 +0300
committerFrederick Muriuki Muriithi2022-06-21 12:28:02 +0300
commit3bd3049fd403886a9653aa7c2fbd1639926420ea (patch)
tree1265c9561832289e2c58025a25738925191f8018 /qc_app
parentdf0ccad74fa18d43b23cabe45a9bf268459e4151 (diff)
downloadgn-uploader-3bd3049fd403886a9653aa7c2fbd1639926420ea.tar.gz
Test the progress indication feature
Diffstat (limited to 'qc_app')
-rw-r--r--qc_app/parse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qc_app/parse.py b/qc_app/parse.py
index fa3c8cd..a017b2c 100644
--- a/qc_app/parse.py
+++ b/qc_app/parse.py
@@ -83,7 +83,7 @@ def parse_status(job_id: str):
job_name = f"Parsing '{filename}'",
errors=errors)
- return render_template("no_such_job.html", job_id=job_id)
+ return render_template("no_such_job.html", job_id=job_id), 400
@parsebp.route("/results/<job_id>", methods=["GET"])
def results(job_id: str):