mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
needed proper dict syntax
This commit is contained in:
parent
56b33145e7
commit
918d872f2c
@ -179,7 +179,7 @@ class NotebookWebApplication(web.Application):
|
||||
settings.update(settings_overrides)
|
||||
|
||||
# create a jinja2 environment using the template path and store it in settings
|
||||
settings.jinja2_env=Environment(loader=FileSystemLoader(settings.template_path))
|
||||
settings["jinja2_env"]=Environment(loader=FileSystemLoader(settings["template_path"]))
|
||||
|
||||
return settings
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user