1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

Fix bug with check installed

This commit is contained in:
Pascal Vizeli
2017-04-17 23:31:49 +02:00
parent d2db89a665
commit 322480bba1

View File

@@ -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