mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-17 14:16:29 +00:00
fix git repo open
This commit is contained in:
parent
f9500f6d90
commit
5831177fd8
@ -29,7 +29,7 @@ class AddonsRepo(object):
|
||||
try:
|
||||
_LOGGER.info("Load addons repository")
|
||||
self.repo = await self.loop.run_in_executor(
|
||||
None, git.Repo(self.config.path_addons_repo))
|
||||
None, git.Repo, self.config.path_addons_repo)
|
||||
|
||||
except (git.InvalidGitRepositoryError, git.NoSuchPathError) as err:
|
||||
_LOGGER.error("Can't load addons repo: %s.", err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user