Fix a crash when vmrun is not found

Fix #753
pull/774/head
Julien Duponchelle 8 years ago
parent 8150c3007e
commit 9bceaa89b7
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

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

Loading…
Cancel
Save