Fix path python in OSx

This commit is contained in:
Mauricio Baeza 2020-03-09 22:16:35 -06:00
parent 45c5e84f30
commit 4ae2a1ff01
2 changed files with 3 additions and 5 deletions

Binary file not shown.

View File

@ -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',