From 838dea860fe1f1486d96ca3c641c6a55cf5708cb Mon Sep 17 00:00:00 2001 From: Mauricio Baeza Date: Mon, 9 Mar 2020 20:09:50 -0600 Subject: [PATCH] Fix path python in OSx --- source/ZAZPip.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/ZAZPip.py b/source/ZAZPip.py index dfc6417..f5d1da3 100644 --- a/source/ZAZPip.py +++ b/source/ZAZPip.py @@ -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 = {