Merge pull request #41 from minrk/kernel_argv_2.x

don't pass notebook app args to kernel
This commit is contained in:
Min RK
2014-09-20 13:10:23 -07:00

View File

@@ -94,6 +94,11 @@ class SingleUserNotebookApp(NotebookApp):
# disable the exit confirmation for background notebook processes
ioloop.IOLoop.instance().stop()
def init_kernel_argv(self):
"""construct the kernel arguments"""
# FIXME: This is 2.x-compat, remove when 3.x is requred
self.kernel_argv = ["--profile-dir", self.profile_dir.location]
def init_webapp(self):
# monkeypatch authentication to use the hub
from IPython.html.base.handlers import AuthenticatedHandler