Explicit utf-8 decoding.

This commit is contained in:
grossmj committed 2015-04-26 21:19:39 -06:00
1 parent 6edf1e3649
commit 271cb527d4
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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))