Permalink
Browse files

Merge pull request #479 from muzuiget/master

embed() doesn't load default config
  • Loading branch information...
2 parents 03c097c + 66eefcd commit 5163e1416a638e24fae3621ea36b0accbb9aa80d @takluyver takluyver committed May 31, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 IPython/frontend/terminal/embed.py
View
1 IPython/frontend/terminal/embed.py
@@ -240,6 +240,7 @@ def embed(**kwargs):
if config is None:
config = load_default_config()
config.InteractiveShellEmbed = config.TerminalInteractiveShell
+ kwargs['config'] = config
global _embedded_shell
if _embedded_shell is None:
_embedded_shell = InteractiveShellEmbed(**kwargs)

0 comments on commit 5163e14

Please sign in to comment.