Validate in Windows

This commit is contained in:
Mauricio Baeza 2020-11-18 16:47:07 -06:00
parent 475840d7e8
commit 54b2ed7913
2 changed files with 2 additions and 3 deletions

Binary file not shown.

View File

@ -274,7 +274,7 @@ class Controllers(object):
def cmd_shell_action(self, event):
if app.IS_WIN:
cmd = '"{}"'.format(self.path_python)
app.open_file(cmd)
app.paths.open(cmd)
else:
cmd = 'exec "{}"'
if app.IS_MAC:
@ -286,7 +286,6 @@ class Controllers(object):
app.run(cmd)
return
@app.catch_exception
def cmd_explore_action(self, event):
path = app.paths.get_file(filters='txt')
if not path:
@ -389,7 +388,7 @@ def _create_dialog():
'Width': 60,
'Height': BUTTON_WH,
'Step': 10,
'ImageURL': 'install.png',
'ImageURL': 'install.svg',
'ImagePosition': 1,
}
dialog.add_control(args)