Fix a crash when vboxmanage is not found

Fix #755
This commit is contained in:
Julien Duponchelle committed 2016-11-02 10:22:36 +01:00
1 parent 308706e3d4
commit b85b4b73cc
1 file changed
+1 -1
+1 -1
View File
@@ -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: