aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2019-09-27 12:42:32 -0500
committerzsloan2019-09-27 12:42:32 -0500
commit1f290b05d6fce851a01a1ce54194382b734ea596 (patch)
treeb127cb2edba12a41682b81f523123bbf4899e42d /wqflask
parentdcdb588f736df433d3a09aedd0fe50cb9f80e794 (diff)
downloadgenenetwork2-1f290b05d6fce851a01a1ce54194382b734ea596.tar.gz
Fixed an issue that caused Redis to throw an error when creating collections
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/collect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/collect.py b/wqflask/wqflask/collect.py
index 7e3337a0..22d3f7ee 100644
--- a/wqflask/wqflask/collect.py
+++ b/wqflask/wqflask/collect.py
@@ -259,7 +259,7 @@ def create_new(collection_name):
if "hash" in params:
unprocessed_traits = Redis.get(params['hash'])
- Redis.delete(hash)
+ Redis.delete(params['hash'])
else:
unprocessed_traits = params['traits']