about summary refs log tree commit diff
path: root/qc_app/upload
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app/upload')
-rw-r--r--qc_app/upload/rqtl2.py2
1 files changed, 1 insertions, 1 deletions
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(