diff options
Diffstat (limited to 'wqflask/base/data_set/__init__.py')
-rw-r--r-- | wqflask/base/data_set/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set/__init__.py b/wqflask/base/data_set/__init__.py index ad51e47e..c2c0aef1 100644 --- a/wqflask/base/data_set/__init__.py +++ b/wqflask/base/data_set/__init__.py @@ -115,7 +115,7 @@ def datasets(group_name, this_group=None, redis_conn=Redis()): dataset_menu.append(dict(tissue=tissue_name, datasets=[(dataset, dataset_short)])) - if get_setting_bool("USE_REDIS"): + if get_setting_bool(app, "USE_REDIS"): redis_conn.set(key, pickle.dumps(dataset_menu, pickle.HIGHEST_PROTOCOL)) redis_conn.expire(key, 60 * 5) |