aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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']