Fix call python in OSx

This commit is contained in:
Mauricio Baeza 2020-03-09 18:26:35 -06:00
parent 126ceb9b1a
commit c8659fde51
3 changed files with 9 additions and 1 deletions

View File

@ -4144,6 +4144,10 @@ def active_cell():
return get_cell()
def active_sheet():
return get_document().active
def create_dialog(properties):
return LODialog(**properties)

Binary file not shown.

View File

@ -132,7 +132,7 @@ IS_WIN = OS == 'Windows'
LOG_NAME = 'ZAZ'
CLIPBOARD_FORMAT_TEXT = 'text/plain;charset=utf-16'
PYTHON = 'python3'
PYTHON = 'python'
if IS_WIN:
PYTHON = 'python.exe'
CALC = 'calc'
@ -4144,6 +4144,10 @@ def active_cell():
return get_cell()
def active_sheet():
return get_document().active
def create_dialog(properties):
return LODialog(**properties)