From a23e3736d81bd63afb34318932ecb128ada67e23 Mon Sep 17 00:00:00 2001 From: SSINGH Date: Fri, 5 Apr 2019 21:22:52 -0500 Subject: [PATCH] Variable name mismatch (#1063) Should be `redis = Redis()` --- docs/docs/jobs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/jobs.md b/docs/docs/jobs.md index 46b8546..e9c2f87 100644 --- a/docs/docs/jobs.md +++ b/docs/docs/jobs.md @@ -17,7 +17,7 @@ by using `Job.fetch()`. from redis import Redis from rq.job import Job -connection = Redis() +redis = Redis() job = Job.fetch('my_job_id', connection=redis) print('Status: %s' $ job.get_status()) ```