Skip to content

Commit

Permalink
Merge pull request #260 from minrk/notebook-aliases
Browse files Browse the repository at this point in the history
don't try to get notebook aliases from NotebookApp
  • Loading branch information
minrk committed Jun 22, 2015
2 parents 0c16fb9 + e5821e5 commit 7acaf8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jupyterhub/singleuser.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
CUnicode,
)

from IPython.html.notebookapp import NotebookApp
from IPython.html.notebookapp import NotebookApp, aliases as notebook_aliases
from IPython.html.auth.login import LoginHandler
from IPython.html.auth.logout import LogoutHandler

Expand Down Expand Up @@ -109,7 +109,7 @@ def get(self):


# register new hub related command-line aliases
aliases = NotebookApp.aliases.get_default_value()
aliases = dict(notebook_aliases)
aliases.update({
'user' : 'SingleUserNotebookApp.user',
'cookie-name': 'SingleUserNotebookApp.cookie_name',
Expand Down

0 comments on commit 7acaf8c

Please sign in to comment.