mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-11 12:30:51 +08:00
Remove profile_dir from handler class
This commit is contained in:
parent
f1295c6b8d
commit
98cd14c04c
@ -120,10 +120,6 @@ class IPythonHandler(AuthenticatedHandler):
|
||||
return Application.instance().log
|
||||
else:
|
||||
return app_log
|
||||
|
||||
@property
|
||||
def profile_dir(self):
|
||||
return self.settings.get('profile_dir', '')
|
||||
|
||||
#---------------------------------------------------------------
|
||||
# URLs
|
||||
|
@ -183,7 +183,6 @@ class NotebookWebApplication(web.Application):
|
||||
config=ipython_app.config,
|
||||
jinja2_env=env,
|
||||
terminals_available=False, # Set later if terminals are available
|
||||
profile_dir = ipython_app.profile_dir.location,
|
||||
)
|
||||
|
||||
# allow custom overrides for the tornado web app.
|
||||
|
Loading…
Reference in New Issue
Block a user