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