aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/data_set.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/base/data_set.py')
-rw-r--r--wqflask/base/data_set.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 67515111..dda5e8f9 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -652,6 +652,8 @@ class DataSet:
"ProbeSetFreeze.FullName = %s "
"OR ProbeSetFreeze.ShortName = %s)",
(self.name,)*3)
+ (self.id, self.name, self.fullname, self.shortname,
+ self.data_scale, self.tissue) = cursor.fetchone()
else:
self.tissue = "N/A"
cursor.execute(
@@ -660,8 +662,8 @@ class DataSet:
"WHERE (Name = %s OR FullName = "
"%s OR ShortName = %s)",
(self.name,)*3)
- (self.id, self.name, self.fullname, self.shortname,
- self.data_scale, self.tissue) = cursor.fetchone()
+ (self.id, self.name, self.fullname,
+ self.shortname) = cursor.fetchone()
except TypeError:
pass