From 91a3aa7493fa9437d525a632f276d5bc56a3335e Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Tue, 4 Aug 2015 11:49:55 -0500 Subject: [PATCH] make args and kwargs explicit for enqueue_call function closes #466 --- rq/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/queue.py b/rq/queue.py index 6125741..a4f57ab 100644 --- a/rq/queue.py +++ b/rq/queue.py @@ -186,7 +186,7 @@ class Queue(object): timeout = timeout or self._default_timeout job = self.job_class.create( - func, args, kwargs, connection=self.connection, + func, args=args, kwargs=kwargs, connection=self.connection, result_ttl=result_ttl, ttl=ttl, status=JobStatus.QUEUED, description=description, depends_on=depends_on, timeout=timeout, id=job_id, origin=self.name)