mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
use launch_new_instance classmethod to launch apps
This commit is contained in:
parent
9640b57161
commit
63b65b8c6c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user