1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

Fix problem when searching for VBoxManage. Fixes #1261.

This commit is contained in:
grossmj 2018-01-12 13:17:16 +07:00
parent 97cfb892a6
commit 8b1c68a0b7

View File

@ -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: