Explicit utf-8 decoding.

This commit is contained in:
grossmj
2015-04-26 21:19:39 -06:00
parent 6edf1e3649
commit 271cb527d4
2 changed files with 2 additions and 2 deletions

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))