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