about summary refs log tree commit diff
path: root/scripts/search_phenotypes.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/search_phenotypes.py')
-rw-r--r--scripts/search_phenotypes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/search_phenotypes.py b/scripts/search_phenotypes.py
index 2423e93..eee112d 100644
--- a/scripts/search_phenotypes.py
+++ b/scripts/search_phenotypes.py
@@ -52,7 +52,7 @@ def update_search_results(redisconn: redis.Redis, redisname: str,
                           results: tuple[dict[str, Any], ...]):
     """Save the results to redis db."""
     key = "search_results"
-    prev_results = tuple(json.loads(redisconn.hget(redisname, key) or "[]"))
+    prev_results = tuple(json.loads(redisconn.hget(redisname, key) or "[]"))  # type: ignore
     redisconn.hset(redisname, key, json.dumps(prev_results + results))
 
 def expire_redis_results(redisconn: redis.Redis, redisname: str):