From b85b4b73cc8221b7296faaf50fa4509130eb306b Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 2 Nov 2016 10:22:36 +0100 Subject: [PATCH] Fix a crash when vboxmanage is not found Fix #755 --- 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 3b716bb9..fcf40ea3 100644 --- a/gns3server/compute/virtualbox/__init__.py +++ b/gns3server/compute/virtualbox/__init__.py @@ -68,7 +68,7 @@ class VirtualBox(BaseManager): else: vboxmanage_path = "vboxmanage" - if not os.path.isabs(vboxmanage_path): + if vboxmanage_path and not os.path.isabs(vboxmanage_path): vboxmanage_path = shutil.which(vboxmanage_path) if not vboxmanage_path: