mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-21 13:47:50 +00:00
Fix issue with tests and Qemu version on Windows
This commit is contained in:
parent
c181df6935
commit
8e2989d747
@ -214,7 +214,7 @@ class Qemu(BaseManager):
|
|||||||
return version
|
return version
|
||||||
except (UnicodeDecodeError, OSError) as e:
|
except (UnicodeDecodeError, OSError) as e:
|
||||||
log.warning("could not read {}: {}".format(version_file, e))
|
log.warning("could not read {}: {}".format(version_file, e))
|
||||||
return None
|
return ""
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
output = await subprocess_check_output(qemu_path, "-version", "-nographic")
|
output = await subprocess_check_output(qemu_path, "-version", "-nographic")
|
||||||
|
Loading…
Reference in New Issue
Block a user