From 9bceaa89b7271b8a1a10e713c582c98b93c83fb5 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 31 Oct 2016 11:20:35 +0100 Subject: [PATCH] Fix a crash when vmrun is not found Fix #753 --- gns3server/compute/vmware/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/compute/vmware/__init__.py b/gns3server/compute/vmware/__init__.py index 9fda4c50..7bcea043 100644 --- a/gns3server/compute/vmware/__init__.py +++ b/gns3server/compute/vmware/__init__.py @@ -107,7 +107,7 @@ class VMware(BaseManager): else: vmrun_path = "vmrun" - if not os.path.isabs(vmrun_path): + if vmrun_path and not os.path.isabs(vmrun_path): vmrun_path = shutil.which(vmrun_path) if not vmrun_path: