aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index 86457c4e..8ac116be 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -703,7 +703,7 @@ def loading_page():
@app.route("/run_mapping", methods=('POST','GET'))
def mapping_results_page():
- if request.method == "GET":
+ if request.method == "GET" and (hash_of_inputs := request.args.get("hash")):
hash_of_inputs = request.args.get("hash")
initial_start_vars = json.loads(Redis.get(hash_of_inputs))
initial_start_vars['hash_of_inputs'] = hash_of_inputs