aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/data_set/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/base/data_set/utils.py')
-rw-r--r--wqflask/base/data_set/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set/utils.py b/wqflask/base/data_set/utils.py
index 465538af..11391d69 100644
--- a/wqflask/base/data_set/utils.py
+++ b/wqflask/base/data_set/utils.py
@@ -27,7 +27,7 @@ def query_table_timestamp(dataset_type: str):
# computation data and actions
with database_connection() as conn, conn.cursor() as cursor:
- fetch_db_name = parse_db_url(get_setting("SQL_URI"))
+ fetch_db_name = parse_db_url(get_setting(app, "SQL_URI"))
cursor.execute(
"SELECT UPDATE_TIME FROM "
"information_schema.tables "