1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-19 14:58:07 +00:00

Fix a crash when vmrun is not found

Fix #753
This commit is contained in:
Julien Duponchelle 2016-10-31 11:20:35 +01:00
parent 8150c3007e
commit 9bceaa89b7
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -107,7 +107,7 @@ class VMware(BaseManager):
else:
vmrun_path = "vmrun"
if not os.path.isabs(vmrun_path):
if vmrun_path and not os.path.isabs(vmrun_path):
vmrun_path = shutil.which(vmrun_path)
if not vmrun_path: