Skip to content

Commit

Permalink
Fix use of InteractiveShellEmbed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mainland committed Apr 17, 2024
1 parent dc77122 commit a4d6ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dragonradio/src/dragonradio/controller/radio.py
Expand Up @@ -345,7 +345,7 @@ def run(self, finalizer: Callable[[], None], user_ns: Dict[str, Any]=locals()):
c.TerminalInteractiveShell.autoawait = True

try:
shell = IPython.terminal.embed.InteractiveShellEmbed(config=c, user_ns=user_ns)
shell = IPython.terminal.embed.InteractiveShellEmbed.instance(config=c, user_ns=user_ns)
shell.enable_gui('asyncio')
shell()

Expand Down

0 comments on commit a4d6ab4

Please sign in to comment.