mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 03:15:46 +01:00
Fix ipython({...}) not applying specified user namespace
This commit is contained in:
parent
55c728dd9e
commit
9a80329141
1 changed files with 2 additions and 1 deletions
|
|
@ -168,7 +168,8 @@ def ipython(user_ns=None):
|
|||
if not user_ns:
|
||||
user_ns = defns
|
||||
else:
|
||||
user_ns = defns.update(user_ns)
|
||||
defns.update(user_ns)
|
||||
user_ns = defns
|
||||
|
||||
c = Config()
|
||||
c.InteractiveShellApp.exec_lines = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue