From b0b908b4aed79a30956110ba0bcd1ee61e9d82e5 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 11 Jan 2021 12:17:53 +0100 Subject: [PATCH] Fix missing repository (#2420) --- supervisor/store/git.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/supervisor/store/git.py b/supervisor/store/git.py index 34f234d6b..2c33e0c6f 100644 --- a/supervisor/store/git.py +++ b/supervisor/store/git.py @@ -137,6 +137,9 @@ class GitRepo(CoreSysAttributes): if self.lock.locked(): _LOGGER.warning("There is already a task in progress") return + if self.repo is None: + _LOGGER.warning("No valid repository for %s", self.url) + return async with self.lock: _LOGGER.info("Update add-on %s repository", self.url)