From b29272c092a0a172b4fe222476c730d2d630eea5 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Sun, 3 Sep 2023 19:59:07 +0530 Subject: [PATCH] fix: ipython console https://github.com/ipython/ipython/issues/13966 --- frappe/commands/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/commands/utils.py b/frappe/commands/utils.py index f7d0a8f16d..925c75d421 100644 --- a/frappe/commands/utils.py +++ b/frappe/commands/utils.py @@ -609,7 +609,7 @@ def console(context, autoreload=False): register(_console_cleanup) - terminal = InteractiveShellEmbed() + terminal = InteractiveShellEmbed.instance() if autoreload: terminal.extension_manager.load_extension("autoreload") terminal.run_line_magic("autoreload", "2")