mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-09 02:06:30 +00:00
✏️ Small typo in error msg (#311)
This commit is contained in:
parent
3784d759f5
commit
8fc27ff28e
@ -267,7 +267,7 @@ class APIAddons(CoreSysAttributes):
|
|||||||
"""Write to stdin of addon."""
|
"""Write to stdin of addon."""
|
||||||
addon = self._extract_addon(request)
|
addon = self._extract_addon(request)
|
||||||
if not addon.with_stdin:
|
if not addon.with_stdin:
|
||||||
raise RuntimeError("STDIN not supported by addons")
|
raise RuntimeError("STDIN not supported by addon")
|
||||||
|
|
||||||
data = await request.read()
|
data = await request.read()
|
||||||
return await asyncio.shield(addon.write_stdin(data), loop=self._loop)
|
return await asyncio.shield(addon.write_stdin(data), loop=self._loop)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user