Await uninstall of addon in fixup (#5141)

This commit is contained in:
Mike Degatano 2024-06-20 15:50:45 -04:00 committed by GitHub
parent 1bb814b793
commit 4829eb8ae1
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:
addon.uninstall()
await addon.uninstall()
except AddonsError as err:
_LOGGER.error("Could not remove %s due to %s", reference, err)
raise ResolutionFixupError() from None