parent
2d73b8f314
commit
b29272c092
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue