mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 06:41:13 +02:00
Fix qemu close
This commit is contained in:
1 parent
15036837bb
commit
47be57dca7
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user