aboutsummaryrefslogtreecommitdiff
path: root/scripts/rqtl2/entry.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-14 13:22:36 -0500
committerFrederick Muriuki Muriithi2024-10-14 13:27:44 -0500
commit1cf1a85c1bcf53e02273848b488d664b5bf3f275 (patch)
treeefd76890764c55fd5614b4fe8d92282ec6cec57c /scripts/rqtl2/entry.py
parent6810643b159d295eeb298ce6980775d894c660f5 (diff)
downloadgn-uploader-1cf1a85c1bcf53e02273848b488d664b5bf3f275.tar.gz
BugFix: Use provided prefix
Use the provided prefix rather than calling `jobs.jobsnamespace()` function that depends of an app context existing.
Diffstat (limited to 'scripts/rqtl2/entry.py')
-rw-r--r--scripts/rqtl2/entry.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rqtl2/entry.py b/scripts/rqtl2/entry.py
index b7fb68e..5c7e7e4 100644
--- a/scripts/rqtl2/entry.py
+++ b/scripts/rqtl2/entry.py
@@ -26,7 +26,7 @@ def build_main(args: Namespace,
with (Redis.from_url(args.redisuri, decode_responses=True) as rconn,
database_connection(args.databaseuri) as dbconn):
- fqjobid = jobs.job_key(jobs.jobsnamespace(), args.jobid)
+ fqjobid = jobs.job_key(args.redisprefix, args.jobid)
logger.addHandler(setup_redis_logger(
rconn,
fqjobid,