aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorPjotr Prins2016-06-23 05:33:20 +0000
committerPjotr Prins2016-06-23 05:33:20 +0000
commit968eb8c1d8703c3d5c84f2162eae365b930c008d (patch)
treebcb31003b5c2972d368b8f2887a94702bcf32f72 /wqflask/base
parentdee744c3030999bf8d77e23f450c4ad9f2a2eaa6 (diff)
downloadgenenetwork2-968eb8c1d8703c3d5c84f2162eae365b930c008d.tar.gz
Backend: moved methods into call module
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/data_set.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index a7b6e402..02018dd3 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -114,9 +114,10 @@ def create_datasets_list():
for dataset_type in type_dict:
query = "SELECT Name FROM {}".format(type_dict[dataset_type])
for result in g.db.execute(query).fetchall():
- #The query at the beginning of this function isn't necessary here, but still would
- #rather just reuse it
- #logger.debug("type: {}\tname: {}".format(dataset_type, result.Name))
+ #The query at the beginning of this function isn't
+ #necessary here, but still would rather just reuse
+ #it logger.debug("type: {}\tname:
+ #{}".format(dataset_type, result.Name))
dataset = create_dataset(result.Name, dataset_type)
datasets.append(dataset)