use grpc method to execute python script, redraw canvas and reset session data

This commit is contained in:
Huy Pham 2020-03-02 09:01:03 -08:00
parent c1f0e385b4
commit dfc24e107f
2 changed files with 8 additions and 1 deletions

View file

@ -79,5 +79,6 @@ class ExecutePythonDialog(Dialog):
def script_execute(self):
file = self.file_entry.get()
options = self.option_entry.get()
logging.debug("Execute %s with options %s", file, options)
logging.info("Execute %s with options %s", file, options)
self.app.core.execute_script(file)
self.destroy()