mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-09 18:26:30 +00:00
Fix bug with check installed
This commit is contained in:
parent
d2db89a665
commit
322480bba1
@ -144,7 +144,7 @@ class AddonManager(AddonsData):
|
||||
|
||||
async def update(self, addon, version=None):
|
||||
"""Update addon."""
|
||||
if self.is_installed(addon):
|
||||
if not self.is_installed(addon):
|
||||
_LOGGER.error("Addon %s is not installed", addon)
|
||||
return False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user