aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/data_set/datasetgroup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set/datasetgroup.py b/wqflask/base/data_set/datasetgroup.py
index 2861b23d..72577f38 100644
--- a/wqflask/base/data_set/datasetgroup.py
+++ b/wqflask/base/data_set/datasetgroup.py
@@ -40,7 +40,7 @@ class DatasetGroup:
"InbredSet.GeneticType, "
"InbredSet.InbredSetCode "
"FROM InbredSet WHERE Name = %s",
- (dataset.name,))
+ (name,))
results = cursor.fetchone()
if results:
(self.name, self.id, self.genetic_type, self.code) = results