diff options
author | zsloan | 2023-08-03 02:52:46 +0000 |
---|---|---|
committer | zsloan | 2023-08-03 02:52:46 +0000 |
commit | 0f94f78e593963593cabdab8e14545a924deb252 (patch) | |
tree | 6aac649d83b3766cfa34c12ef501d3d000781b6e | |
parent | 926666e64f1b1c2af1df7f145bfd9f17ae6b12d9 (diff) | |
download | genenetwork2-0f94f78e593963593cabdab8e14545a924deb252.tar.gz |
Fix Submit Trait bug
-rw-r--r-- | wqflask/wqflask/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 320a98ef..98c7f479 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -491,7 +491,7 @@ def show_temp_trait_page(): template_vars.js_data = json.dumps(template_vars.js_data, default=json_default_handler, indent=" ") - return render_template("show_trait.html", **template_vars.__dict__) + return redirect(url_for("show_trait_page", dataset=template_vars.dataset.name, trait_id=template_vars.trait_id)) @app.route("/show_trait") |