From 1e04e1e12313335a28b7169db9d09eea1f4826f2 Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 9 Jul 2015 10:32:23 -0600 Subject: [PATCH] Fixes bug with vmrun VIX path. --- gns3server/modules/vmware/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/modules/vmware/__init__.py b/gns3server/modules/vmware/__init__.py index 36567fde..414eecb0 100644 --- a/gns3server/modules/vmware/__init__.py +++ b/gns3server/modules/vmware/__init__.py @@ -80,7 +80,7 @@ class VMware(BaseManager): vmrun_vix = os.path.expandvars(r"%PROGRAMFILES(X86)%\VMware\VMware VIX\vmrun.exe") if os.path.exists(vmrun_ws): vmrun_path = vmrun_ws - elif os.path.exist(vmrun_vix): + elif os.path.exists(vmrun_vix): vmrun_path = vmrun_vix elif sys.platform.startswith("darwin"): vmrun_path = "/Applications/VMware Fusion.app/Contents/Library/vmrun"