From 951c3c2fd343eec4b3743ac313ad6ce49082dda3 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 8 Jan 2024 05:50:24 +0300 Subject: Use extracted functions and fix bugs --- qc_app/upload/rqtl2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qc_app/upload') diff --git a/qc_app/upload/rqtl2.py b/qc_app/upload/rqtl2.py index 06edfee..aabcea9 100644 --- a/qc_app/upload/rqtl2.py +++ b/qc_app/upload/rqtl2.py @@ -19,7 +19,7 @@ rqtl2 = Blueprint("rqtl2", __name__) def select_species(): """Select the species.""" if request.method == "GET": - return render_template("rqtl2/index.html", species=all_species()) + return render_template("rqtl2/index.html", species=with_db_connection(all_species)) species_id = request.form.get("species_id") species = with_db_connection( -- cgit v1.2.3