Merge pull request #1933 from akrpic77/ak-fix-binary-websocket

Fix binary websocket access to the console
This commit is contained in:
Jeremy Grossmann authored and GitHub committed 2021-07-26 20:42:54 +09:30
commit d2534d6fa0
1 file changed
+1 -1
+1 -1
View File
@@ -430,7 +430,7 @@ class BaseNode:
telnet_writer.write(msg.data.encode())
await telnet_writer.drain()
elif msg.type == aiohttp.WSMsgType.BINARY:
await telnet_writer.write(msg.data)
telnet_writer.write(msg.data)
await telnet_writer.drain()
elif msg.type == aiohttp.WSMsgType.ERROR:
log.debug("Websocket connection closed with exception {}".format(ws.exception()))