aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2016-06-24 08:29:54 +0000
committerPjotr Prins2016-06-24 08:29:54 +0000
commitddcf21ca8264730c9d368ef899760d007c0fb948 (patch)
treecb0b6e3c3504400eb8d04636401aad0fa943ceff
parentcb69258b0de655f8d556030e8f8039b762d0b659 (diff)
downloadgenenetwork2-ddcf21ca8264730c9d368ef899760d007c0fb948.tar.gz
Fix redis
-rw-r--r--wqflask/wqflask/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index 1b2419d8..71de9340 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -145,7 +145,7 @@ def search_page():
result = Redis.get(key)
if result:
logger.info("Redis cache hit on search results!")
- result = pickle.loads(result)
+ result = pickle.loads(result)
else:
logger.info("Skipping Redis cache (USE_REDIS=False)")