Permalink
Browse files

Minor fixes to config system for notebook.

  • Loading branch information...
1 parent db81ec2 commit 89e253a5b7d9c15fe6d43ea41f0c77d9ac0ae7ac @ellisonbg ellisonbg committed Aug 9, 2011
@@ -106,7 +106,6 @@ def __init__(self, routing_kernel_manager, notebook_manager, log):
ip = 'IPythonNotebookApp.ip',
port = 'IPythonNotebookApp.port',
colors = 'ZMQInteractiveShell.colors',
- editor = 'RichIPythonWidget.editor',
))
#-----------------------------------------------------------------------------
@@ -126,7 +125,7 @@ class IPythonNotebookApp(BaseIPythonApplication):
classes = [IPKernelApp, ZMQInteractiveShell, ProfileDir, Session,
RoutingKernelManager, NotebookManager,
- KernelManager, SessionManager, RichIPythonWidget]
+ KernelManager, SessionManager]
flags = Dict(flags)
aliases = Dict(aliases)
@@ -27,7 +27,9 @@
class NotebookManager(LoggingConfigurable):
- notebook_dir = Unicode(os.getcwd())
+ notebook_dir = Unicode(os.getcwd(), config=True, help="""
+ The directory to use for notebooks.
+ """)
filename_ext = Unicode(u'.ipynb')
allowed_formats = List([u'json',u'xml',u'py'])

0 comments on commit 89e253a

Please sign in to comment.