mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-20 15:46:29 +00:00
Fix additional parameter on exception (#1774)
This commit is contained in:
parent
a0ecb46584
commit
f13d08d37a
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user