aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/data_set.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 433365fc..da3c0628 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -325,7 +325,7 @@ class DatasetGroup:
InbredSet.InbredSetCode FROM InbredSet where Name=%s
"""
if not name:
- query, name = dataset.query_for_group, self.name
+ query, name = dataset.query_for_group, dataset.name
with database_connection() as conn, conn.cursor() as cursor:
cursor.execute(query, (name,))
results = cursor.fetchone()