mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Fixed typo
This commit is contained in:
parent
c8d41130e6
commit
e08b300251
@ -947,7 +947,7 @@ class NotebookApp(JupyterApp):
|
|||||||
return os.getenv('JUPYTER_TOKEN')
|
return os.getenv('JUPYTER_TOKEN')
|
||||||
if os.getenv('JUPYTER_TOKEN_FILE'):
|
if os.getenv('JUPYTER_TOKEN_FILE'):
|
||||||
self._token_generated = False
|
self._token_generated = False
|
||||||
with io.open(os.getenv('JUPYTER_TOKEN_FILE'), "r") as token_file
|
with io.open(os.getenv('JUPYTER_TOKEN_FILE'), "r") as token_file:
|
||||||
return token_file.read()
|
return token_file.read()
|
||||||
if self.password:
|
if self.password:
|
||||||
# no token if password is enabled
|
# no token if password is enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user