mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 02:56:31 +00:00
Fix missing repository (#2420)
This commit is contained in:
parent
5a00336ef1
commit
b0b908b4ae
@ -137,6 +137,9 @@ class GitRepo(CoreSysAttributes):
|
|||||||
if self.lock.locked():
|
if self.lock.locked():
|
||||||
_LOGGER.warning("There is already a task in progress")
|
_LOGGER.warning("There is already a task in progress")
|
||||||
return
|
return
|
||||||
|
if self.repo is None:
|
||||||
|
_LOGGER.warning("No valid repository for %s", self.url)
|
||||||
|
return
|
||||||
|
|
||||||
async with self.lock:
|
async with self.lock:
|
||||||
_LOGGER.info("Update add-on %s repository", self.url)
|
_LOGGER.info("Update add-on %s repository", self.url)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user