aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-05-20 10:26:06 +0300
committerFrederick Muriuki Muriithi2022-05-20 10:26:06 +0300
commit8462d4842dc2bbb69b1b8321d37ebd6d132b1298 (patch)
tree6e7a7f29ac9234f0d5ce5a71149556c05d9d768a
parentc9e231c5fcbc01d00ee5cdd4458ece8fcaf6d39c (diff)
downloadgn-uploader-8462d4842dc2bbb69b1b8321d37ebd6d132b1298.tar.gz
Fix minor bugs
-rw-r--r--qc_app/parse.py3
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(