diff options
Diffstat (limited to 'wqflask/base')
-rw-r--r-- | wqflask/base/data_set.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index 47c03b06..02e6cefe 100644 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -780,9 +780,9 @@ class DataSet: dataset_type = self.type temp = ['T%s.value' % item for item in sample_ids_step] if self.type == "Publish": - query = "SELECT {}XRef.Id,".format(escape(self.type)) + query = "SELECT {}XRef.Id".format(escape(self.type)) else: - query = "SELECT {}.Name,".format(escape(dataset_type)) + query = "SELECT {}.Name".format(escape(dataset_type)) data_start_pos = 1 query += ', '.join(temp) query += ' FROM ({}, {}XRef, {}Freeze) '.format(*mescape(dataset_type, |