diff options
-rw-r--r-- | qc_app/parse.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qc_app/parse.py b/qc_app/parse.py index c97f078..42dece6 100644 --- a/qc_app/parse.py +++ b/qc_app/parse.py @@ -5,6 +5,7 @@ from functools import reduce import jsonpickle from redis import Redis from flask import ( + flash, request, url_for, redirect, @@ -45,7 +46,7 @@ def parse(): errors = True if errors: - return redirect(url_for("entry.index")) + return redirect(url_for("entry.upload_file")) with Redis.from_url(app.config["REDIS_URL"], decode_responses=True) as rconn: job = jobs.launch_job( |