Fix missing await (#2177)

* Fix missing await

* One more
This commit is contained in:
Joakim Sørensen 2020-10-26 21:14:42 +01:00 committed by GitHub
parent 8e57cd2751
commit aa7b68d4d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ class GitRepo(CoreSysAttributes):
git.GitCommandError,
) as err:
_LOGGER.error("Can't load %s repo: %s.", self.path, err)
self._remove()
await self._remove()
return False
return True
@ -86,7 +86,7 @@ class GitRepo(CoreSysAttributes):
git.GitCommandError,
) as err:
_LOGGER.error("Can't clone %s repository: %s.", self.url, err)
self._remove()
await self._remove()
return False
return True