Skip to content

Commit

Permalink
make args and kwargs explicit for enqueue_call function
Browse files Browse the repository at this point in the history
closes rq#466
  • Loading branch information
lots0logs committed Aug 4, 2015
1 parent 193dc86 commit 91a3aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rq/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def enqueue_call(self, func, args=None, kwargs=None, timeout=None,
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)
Expand Down

0 comments on commit 91a3aa7

Please sign in to comment.