diff --git a/gns3server/compute/docker/docker_vm.py b/gns3server/compute/docker/docker_vm.py index 257fc062..7dfa4136 100644 --- a/gns3server/compute/docker/docker_vm.py +++ b/gns3server/compute/docker/docker_vm.py @@ -502,7 +502,7 @@ class DockerVM(BaseNode): msg = yield from ws.receive() if msg.tp == aiohttp.MsgType.TEXT: out.feed_data(msg.data.encode()) - if msg.tp == aiohttp.MsgType.BINARY: + elif msg.tp == aiohttp.MsgType.BINARY: out.feed_data(msg.data) elif msg.tp == aiohttp.MsgType.ERROR: log.critical("Docker WebSocket Error: {}".format(msg.data))