From 8e2989d747a558dc05b63d72908dd3c1fa1adf51 Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 6 Jul 2023 16:36:36 +1000 Subject: [PATCH] Fix issue with tests and Qemu version on Windows --- gns3server/compute/qemu/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/compute/qemu/__init__.py b/gns3server/compute/qemu/__init__.py index 562f684b..d377fd6e 100644 --- a/gns3server/compute/qemu/__init__.py +++ b/gns3server/compute/qemu/__init__.py @@ -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")