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()) ```