mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-17 06:48:18 +00:00
Fix Docker console test.
This commit is contained in:
@ -671,7 +671,7 @@ class DockerVM(BaseNode):
|
||||
|
||||
while True:
|
||||
msg = await ws.receive()
|
||||
if msg.type == aiohttp.WSMsgType.text:
|
||||
if msg.type == aiohttp.WSMsgType.TEXT:
|
||||
out.feed_data(msg.data.encode())
|
||||
elif msg.type == aiohttp.WSMsgType.BINARY:
|
||||
out.feed_data(msg.data)
|
||||
|
Reference in New Issue
Block a user