Fix uninstall of add-on on fixup (#5142)

This commit is contained in:
Stefan Agner 2024-06-21 08:54:46 +02:00 committed by GitHub
parent 4829eb8ae1
commit b0cdb91d5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ class FixupAddonExecuteRemove(FixupBase):
# Remove addon
_LOGGER.info("Remove addon: %s", reference)
try:
await addon.uninstall()
await addon.uninstall(remove_config=False)
except AddonsError as err:
_LOGGER.error("Could not remove %s due to %s", reference, err)
raise ResolutionFixupError() from None