diff --git a/src/rpcclient/rpcclient/client.py b/src/rpcclient/rpcclient/client.py index ef9f8c8..13493a0 100644 --- a/src/rpcclient/rpcclient/client.py +++ b/src/rpcclient/rpcclient/client.py @@ -369,9 +369,11 @@ def interactive(self, additional_namespace: typing.Mapping = None): c = Config() c.IPCompleter.use_jedi = False c.InteractiveShellApp.exec_lines = [ - '''IPython.get_ipython().events.register('pre_run_cell', p._ipython_run_cell_hook)''' + '''IPython.get_ipython().events.register('pre_run_cell', p._ipython_run_cell_hook)''', + '''logging.getLogger('asyncio').disabled = True''' ] c.TerminalInteractiveShell.autoformatter = None + c.BaseIPythonApplication.profile = 'rpcclient' namespace = globals() namespace.update({'p': self, 'symbols': self.symbols}) if additional_namespace is not None: