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.add_control(args)
|
||||||
dialog.center(dialog.lbl_title, y=5)
|
dialog.center(dialog.lbl_title, y=5)
|
||||||
|
|
||||||
path_python = app.PYTHON
|
# ~ path_python = app.PYTHON
|
||||||
if app.IS_WIN:
|
# ~ if app.IS_WIN:
|
||||||
path_python = app.get_path_python()
|
path_python = app.get_path_python()
|
||||||
|
|
||||||
cmd = app.PYTHON + ' -V'
|
# ~ cmd = app.PYTHON + ' -V'
|
||||||
if app.IS_WIN:
|
# ~ if app.IS_WIN:
|
||||||
cmd = '"{}" -V'.format(path_python)
|
cmd = '"{}" -V'.format(path_python)
|
||||||
|
|
||||||
label = app.run(cmd, True)
|
label = app.run(cmd, True)
|
||||||
args = {
|
args = {
|
||||||
|
|
Loading…
Reference in New Issue