mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix ipython({...}) not applying specified user namespace
This commit is contained in:
parent
55c728dd9e
commit
9a80329141
@ -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…
x
Reference in New Issue
Block a user