Pvizeli patch 1 (#9)

* Update __init__.py

* Update core.py
This commit is contained in:
Pascal Vizeli 2017-04-21 12:38:13 +02:00 committed by GitHub
parent 1e78c60a65
commit ea2edadac2
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ class AddonManager(AddonsData):
self.dockers[addon] = DockerAddon( self.dockers[addon] = DockerAddon(
self.config, self.loop, self.dock, self, addon) self.config, self.loop, self.dock, self, addon)
async def relaod(self): async def reload(self):
"""Update addons from repo and reload list.""" """Update addons from repo and reload list."""
if not await self.repo.pull(): if not await self.repo.pull():
return return

View File

@ -88,7 +88,7 @@ class HassIO(object):
# schedule addon update task # schedule addon update task
self.scheduler.register_task( self.scheduler.register_task(
self.addons.relaod, RUN_RELOAD_ADDONS_TASKS, now=True) self.addons.reload, RUN_RELOAD_ADDONS_TASKS, now=True)
# schedule self update task # schedule self update task
self.scheduler.register_task( self.scheduler.register_task(