use launch_new_instance classmethod to launch apps

This commit is contained in:
MinRK 2013-07-04 09:26:15 -07:00
parent 9640b57161
commit 63b65b8c6c

View File

@ -745,8 +745,5 @@ class NotebookApp(BaseIPythonApplication):
# Main entry point
#-----------------------------------------------------------------------------
def launch_new_instance():
app = NotebookApp.instance()
app.initialize()
app.start()
launch_new_instance = NotebookApp.launch_new_instance