From 8b1c68a0b78fb73453196c1deed9aa9e933174ba Mon Sep 17 00:00:00 2001 From: grossmj Date: Fri, 12 Jan 2018 13:17:16 +0700 Subject: [PATCH] Fix problem when searching for VBoxManage. Fixes #1261. --- gns3server/compute/virtualbox/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/compute/virtualbox/__init__.py b/gns3server/compute/virtualbox/__init__.py index 231149c9..a676bd1a 100644 --- a/gns3server/compute/virtualbox/__init__.py +++ b/gns3server/compute/virtualbox/__init__.py @@ -78,7 +78,7 @@ class VirtualBox(BaseManager): if not vboxmanage_path: vboxmanage_path = shutil.which("vboxmanage") - if not os.path.exists(vboxmanage_path): + if vboxmanage_path and not os.path.exists(vboxmanage_path): log.error("VBoxManage path '{}' doesn't exist".format(vboxmanage_path)) if not vboxmanage_path: