mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Renaming NotebookApplication to NotebookWebApplication.
This commit is contained in:
parent
1140eeb679
commit
ff6d76c9e5
@ -27,7 +27,7 @@ _kernel_action_regex = r"(?P<action>restart|interrupt)"
|
||||
|
||||
|
||||
|
||||
class NotebookApplication(web.Application):
|
||||
class NotebookWebApplication(web.Application):
|
||||
|
||||
def __init__(self):
|
||||
handlers = [
|
||||
@ -117,7 +117,7 @@ class NotebookApplication(web.Application):
|
||||
|
||||
def launch_new_instance():
|
||||
options.parse_command_line()
|
||||
application = NotebookApplication()
|
||||
application = NotebookWebApplication()
|
||||
http_server = httpserver.HTTPServer(application)
|
||||
http_server.listen(options.options.port)
|
||||
print "IPython Notebook running at: http://127.0.0.1:8888"
|
||||
|
Loading…
Reference in New Issue
Block a user