Fix qemu close

This commit is contained in:
Julien Duponchelle committed 2015-02-20 17:31:02 +01:00
1 parent 15036837bb
commit 47be57dca7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ class Qemu(BaseManager):
return ""
try:
output = yield from subprocess_check_output(qemu_path, "-version")
match = re.search("version\s+([0-9a-z\-\.]+)", output.decode("utf-8"))
match = re.search("version\s+([0-9a-z\-\.]+)", output)
if match:
version = match.group(1)
return version