Fixed typo

This commit is contained in:
Felix Mönckemeyer 2020-07-06 19:21:32 +02:00 committed by GitHub
parent c8d41130e6
commit e08b300251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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