Skip to content

Commit

Permalink
Fix list_all of TaskManager
Browse files Browse the repository at this point in the history
  • Loading branch information
tmetzl committed Oct 7, 2024
1 parent 0d4c9bc commit f079199
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2xauthoring/managers/taskmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ async def list(self, pool):
async def list_all(self):
pool_manager = TaskPoolManager(self.coursedir)
tasks = []
for pool in pool_manager.list():
pool_list = await pool_manager.list()
for pool in pool_list:
pool_tasks = await self.list(pool.name)
tasks.extend(pool_tasks)
return tasks
Expand Down

0 comments on commit f079199

Please sign in to comment.