Fix a crash when vmrun is not found

Fix #753
This commit is contained in:
Julien Duponchelle committed 2016-10-31 11:20:35 +01:00
1 parent 8150c3007e
commit 9bceaa89b7
1 file changed
+1 -1
+1 -1
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: