mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-12 19:56:29 +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):
|
async def update(self, addon, version=None):
|
||||||
"""Update addon."""
|
"""Update addon."""
|
||||||
if self.is_installed(addon):
|
if not self.is_installed(addon):
|
||||||
_LOGGER.error("Addon %s is not installed", addon)
|
_LOGGER.error("Addon %s is not installed", addon)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user