aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth/authorisation/data/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/auth/authorisation/data/views.py')
-rw-r--r--gn3/auth/authorisation/data/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/auth/authorisation/data/views.py b/gn3/auth/authorisation/data/views.py
index 8bfe61c..a14e78b 100644
--- a/gn3/auth/authorisation/data/views.py
+++ b/gn3/auth/authorisation/data/views.py
@@ -152,7 +152,7 @@ def __search_phenotypes__():
redisuri = app.config["REDIS_URI"]
with redis.Redis.from_url(redisuri, decode_responses=True) as redisconn:
job_id = uuid.uuid4()
- selected = __request_key__("selected_traits")
+ selected = __request_key__("selected_traits", [])
command =[
sys.executable, "-m", "scripts.search_phenotypes",
__request_key__("species_name"),