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)