mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +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')
|
||||
if os.getenv('JUPYTER_TOKEN_FILE'):
|
||||
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()
|
||||
if self.password:
|
||||
# no token if password is enabled
|
||||
|
Loading…
Reference in New Issue
Block a user