1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-23 23:38:21 +00:00

Fix a crash when vboxmanage is not found

Fix #755
This commit is contained in:
Julien Duponchelle 2016-11-02 10:22:36 +01:00
parent 308706e3d4
commit b85b4b73cc
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

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: