1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-23 23:38:21 +00:00

Fix issue with tests and Qemu version on Windows

This commit is contained in:
grossmj 2023-07-06 16:36:36 +10:00
parent c181df6935
commit 8e2989d747

View File

@ -214,7 +214,7 @@ class Qemu(BaseManager):
return version
except (UnicodeDecodeError, OSError) as e:
log.warning("could not read {}: {}".format(version_file, e))
return None
return ""
else:
try:
output = await subprocess_check_output(qemu_path, "-version", "-nographic")