mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 15:21:13 +02:00
Explicit utf-8 decoding.
This commit is contained in:
1 parent
6edf1e3649
commit
271cb527d4
2 files changed
+2
-2
No files matched your search
@@ -644,7 +644,7 @@ class QemuVM(BaseVM):
|
||||
break
|
||||
for expect in expected:
|
||||
if expect in line:
|
||||
result = line.decode().strip()
|
||||
result = line.decode("utf-8").strip()
|
||||
break
|
||||
except EOFError as e:
|
||||
log.warn("Could not read from QEMU monitor: {}".format(e))
|
||||
|
||||
Reference in new issue
Block a user