✏️ Small typo in error msg (#311)

This commit is contained in:
Franck Nijhof 2018-01-15 22:52:13 +01:00 committed by Pascal Vizeli
parent 3784d759f5
commit 8fc27ff28e

View File

@ -267,7 +267,7 @@ class APIAddons(CoreSysAttributes):
"""Write to stdin of addon."""
addon = self._extract_addon(request)
if not addon.with_stdin:
raise RuntimeError("STDIN not supported by addons")
raise RuntimeError("STDIN not supported by addon")
data = await request.read()
return await asyncio.shield(addon.write_stdin(data), loop=self._loop)