diff options
author | Frederick Muriuki Muriithi | 2024-10-14 13:22:36 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-10-14 13:27:44 -0500 |
commit | 1cf1a85c1bcf53e02273848b488d664b5bf3f275 (patch) | |
tree | efd76890764c55fd5614b4fe8d92282ec6cec57c /scripts/rqtl2/entry.py | |
parent | 6810643b159d295eeb298ce6980775d894c660f5 (diff) | |
download | gn-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.py | 2 |
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, |