Fix call python in OSx
This commit is contained in:
parent
126ceb9b1a
commit
c8659fde51
|
@ -4144,6 +4144,10 @@ def active_cell():
|
||||||
return get_cell()
|
return get_cell()
|
||||||
|
|
||||||
|
|
||||||
|
def active_sheet():
|
||||||
|
return get_document().active
|
||||||
|
|
||||||
|
|
||||||
def create_dialog(properties):
|
def create_dialog(properties):
|
||||||
return LODialog(**properties)
|
return LODialog(**properties)
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -132,7 +132,7 @@ IS_WIN = OS == 'Windows'
|
||||||
LOG_NAME = 'ZAZ'
|
LOG_NAME = 'ZAZ'
|
||||||
CLIPBOARD_FORMAT_TEXT = 'text/plain;charset=utf-16'
|
CLIPBOARD_FORMAT_TEXT = 'text/plain;charset=utf-16'
|
||||||
|
|
||||||
PYTHON = 'python3'
|
PYTHON = 'python'
|
||||||
if IS_WIN:
|
if IS_WIN:
|
||||||
PYTHON = 'python.exe'
|
PYTHON = 'python.exe'
|
||||||
CALC = 'calc'
|
CALC = 'calc'
|
||||||
|
@ -4144,6 +4144,10 @@ def active_cell():
|
||||||
return get_cell()
|
return get_cell()
|
||||||
|
|
||||||
|
|
||||||
|
def active_sheet():
|
||||||
|
return get_document().active
|
||||||
|
|
||||||
|
|
||||||
def create_dialog(properties):
|
def create_dialog(properties):
|
||||||
return LODialog(**properties)
|
return LODialog(**properties)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue