make args and kwargs explicit for enqueue_call function

closes #466
main
Dustin Falgout 10 years ago
parent 193dc8609e
commit 91a3aa7493

@ -186,7 +186,7 @@ class Queue(object):
timeout = timeout or self._default_timeout timeout = timeout or self._default_timeout
job = self.job_class.create( 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, result_ttl=result_ttl, ttl=ttl, status=JobStatus.QUEUED,
description=description, depends_on=depends_on, description=description, depends_on=depends_on,
timeout=timeout, id=job_id, origin=self.name) timeout=timeout, id=job_id, origin=self.name)

Loading…
Cancel
Save