aboutsummaryrefslogtreecommitdiff
path: root/gn3/db/species.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/db/species.py')
-rw-r--r--gn3/db/species.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/species.py b/gn3/db/species.py
index 20170ba..5b8e096 100644
--- a/gn3/db/species.py
+++ b/gn3/db/species.py
@@ -71,6 +71,6 @@ def species_name(conn: Any, group: str) -> str:
("SELECT Species.Name FROM Species, InbredSet "
"WHERE InbredSet.Name = %(group_name)s "
"AND InbredSet.SpeciesId = Species.Id"),
- group_name=group_name)
+ {"group_name": group})
return cursor.fetchone()[0]
return None