feat: dispatch transmit args to actions

This commit is contained in:
2022-04-08 21:35:55 +02:00
parent 480ced3259
commit 4dbfe7a82c
2 changed files with 15 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ class Scheduler:
def dispatch(self, task):
""" Do a task """
ans = self.actions[task.action](task.deps)
ans = self.actions[task.action](task.deps, task.args)
return ans
def __next__(self):