Optional upgrade, build async

This commit is contained in:
jpic
2020-02-16 15:03:27 +01:00
parent e0c902eb47
commit e20946a0f6
3 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -6,6 +6,6 @@ from .script import Script
class Async(Script):
async def call(self, *args, **kwargs):
return asyncio.gather(*[
procs.append(action(*args, **kwargs))
action(*args, **kwargs)
for action in self.actions
])