Fix path python in OSx

This commit is contained in:
Mauricio Baeza 2020-03-09 20:09:50 -06:00
parent c8659fde51
commit 838dea860f
1 changed files with 6 additions and 6 deletions

View File

@ -292,13 +292,13 @@ class ZAZPip(unohelper.Base, XJobExecutor):
dialog.add_control(args)
dialog.center(dialog.lbl_title, y=5)
path_python = app.PYTHON
if app.IS_WIN:
path_python = app.get_path_python()
# ~ path_python = app.PYTHON
# ~ if app.IS_WIN:
path_python = app.get_path_python()
cmd = app.PYTHON + ' -V'
if app.IS_WIN:
cmd = '"{}" -V'.format(path_python)
# ~ cmd = app.PYTHON + ' -V'
# ~ if app.IS_WIN:
cmd = '"{}" -V'.format(path_python)
label = app.run(cmd, True)
args = {