Fix path python in OSx
This commit is contained in:
parent
c8659fde51
commit
838dea860f
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue