Fix path python in OSx
This commit is contained in:
parent
45c5e84f30
commit
4ae2a1ff01
Binary file not shown.
|
@ -32,9 +32,9 @@ class Controllers(object):
|
|||
|
||||
def __init__(self, dialog):
|
||||
self.d = dialog
|
||||
self.path_python = app.PYTHON
|
||||
if app.IS_WIN:
|
||||
self.path_python = app.get_path_python()
|
||||
# ~ self.path_python = app.PYTHON
|
||||
# ~ if app.IS_WIN:
|
||||
self.path_python = app.get_path_python()
|
||||
self._states = {
|
||||
'list': False,
|
||||
'install': False,
|
||||
|
@ -298,9 +298,7 @@ class ZAZPip(unohelper.Base, XJobExecutor):
|
|||
# ~ cmd = app.PYTHON + ' -V'
|
||||
# ~ if app.IS_WIN:
|
||||
cmd = '"{}" -V'.format(path_python)
|
||||
app.msgbox(cmd)
|
||||
label = app.run(cmd, True)
|
||||
app.msgbox(label)
|
||||
|
||||
args = {
|
||||
'Type': 'Label',
|
||||
|
|
Loading…
Reference in New Issue