1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 04:19:03 +00:00

Fix additional parameter on exception (#1774)

This commit is contained in:
Franck Nijhof
2020-06-02 22:57:47 +02:00
committed by GitHub
parent a0ecb46584
commit f13d08d37a

View File

@@ -137,7 +137,7 @@ class APIAddons(CoreSysAttributes):
addon = self.sys_addons.get(addon_slug)
if not addon:
raise APIError(f"Addon {addon_slug} does not exist", addon_slug)
raise APIError(f"Addon {addon_slug} does not exist")
if check_installed and not addon.is_installed:
raise APIError(f"Addon {addon.slug} is not installed")