Skip to content

Commit

Permalink
Merge pull request #378 from appsembler/maxi/hotfix-router-class
Browse files Browse the repository at this point in the history
add *args and *kwargs to route for task function
  • Loading branch information
melvinsoft committed Jun 17, 2021
2 parents 4b40155 + 8a4e17c commit 2895fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion figures/settings/lms_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class FiguresRouter(object):
def __init__(self, figures_tasks_queue_name):
self.figures_tasks_queue_name = figures_tasks_queue_name

def route_for_task(self, task):
def route_for_task(self, task, args=None, kwargs=None): # pylint: disable=unused-argument
if task.startswith("figures.tasks."):
return self.figures_tasks_queue_name

Expand Down

0 comments on commit 2895fa3

Please sign in to comment.