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:
|
if not user_ns:
|
||||||
user_ns = defns
|
user_ns = defns
|
||||||
else:
|
else:
|
||||||
user_ns = defns.update(user_ns)
|
defns.update(user_ns)
|
||||||
|
user_ns = defns
|
||||||
|
|
||||||
c = Config()
|
c = Config()
|
||||||
c.InteractiveShellApp.exec_lines = [
|
c.InteractiveShellApp.exec_lines = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user