diff options
author | Frederick Muriuki Muriithi | 2022-05-20 10:26:06 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-05-20 10:26:06 +0300 |
commit | 8462d4842dc2bbb69b1b8321d37ebd6d132b1298 (patch) | |
tree | 6e7a7f29ac9234f0d5ce5a71149556c05d9d768a | |
parent | c9e231c5fcbc01d00ee5cdd4458ece8fcaf6d39c (diff) | |
download | gn-uploader-8462d4842dc2bbb69b1b8321d37ebd6d132b1298.tar.gz |
Fix minor bugs
-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( |