mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-07 17:26:32 +00:00
Fix bug
This commit is contained in:
parent
5f3147d6f4
commit
1e78c60a65
@ -71,7 +71,7 @@ class APISupervisor(object):
|
||||
@api_process
|
||||
async def reload(self, request):
|
||||
"""Reload addons, config ect."""
|
||||
tasks = [self.addons.reaload(), self.config.fetch_update_infos()]
|
||||
tasks = [self.addons.reload(), self.config.fetch_update_infos()]
|
||||
results, _ = await asyncio.shield(
|
||||
asyncio.wait(tasks, loop=self.loop), loop=self.loop)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user