1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Fix warning message.

This commit is contained in:
grossmj 2018-03-19 14:23:46 +07:00
parent c7875f93a3
commit cde30f8f53

View File

@ -1031,7 +1031,7 @@ class QemuVM(BaseNode):
log.debug("Connecting to Qemu monitor on {}:{}".format(self._monitor_host, self._monitor)) log.debug("Connecting to Qemu monitor on {}:{}".format(self._monitor_host, self._monitor))
reader, writer = yield from asyncio.open_connection(self._monitor_host, self._monitor) reader, writer = yield from asyncio.open_connection(self._monitor_host, self._monitor)
except OSError as e: except OSError as e:
log.warning("Could not connect to QEMU monitor on {}: {}".format(self._monitor_host, self._monitor, e)) log.warning("Could not connect to QEMU monitor on {}:{}: {}".format(self._monitor_host, self._monitor, e))
return result return result
try: try:
writer.write(command.encode('ascii') + b"\n") writer.write(command.encode('ascii') + b"\n")