def run(self): global terminal view = terminal.create_file(self.window, 'WoT Python Log', True, True) return
def run(self): global terminal view = terminal.create_file(self.window, 'WoT Python Log', True, True) view.run_command('script_terminal_update_log_view', {'string': terminal.buffered_logs_get()}) return