From 63b65b8c6c8321b6baee934efcf3bec70290b738 Mon Sep 17 00:00:00 2001 From: MinRK Date: Thu, 4 Jul 2013 09:26:15 -0700 Subject: [PATCH] use launch_new_instance classmethod to launch apps --- IPython/html/notebookapp.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/IPython/html/notebookapp.py b/IPython/html/notebookapp.py index 561edb5f8..50e10bff0 100644 --- a/IPython/html/notebookapp.py +++ b/IPython/html/notebookapp.py @@ -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