aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/data_set/dataset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set/dataset.py b/wqflask/base/data_set/dataset.py
index 69c842ad..b6899278 100644
--- a/wqflask/base/data_set/dataset.py
+++ b/wqflask/base/data_set/dataset.py
@@ -88,9 +88,9 @@ class DataSet:
)
results = cursor.fetchone()
+ # Returns None by default if this is not executed
if results:
return str(results[0])
- return "None"
def retrieve_other_names(self):
"""This method fetches the the dataset names in search_result.