We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d76105 + 765c9f7 commit f185f41Copy full SHA for f185f41
notebook/notebookapp.py
@@ -1286,14 +1286,6 @@ def _notebook_dir_validate(self, proposal):
1286
raise TraitError(trans.gettext("No such notebook dir: '%r'") % value)
1287
return value
1288
1289
- @observe('notebook_dir')
1290
- def _update_notebook_dir(self, change):
1291
- """Do a bit of validation of the notebook dir."""
1292
- # setting App.notebook_dir implies setting notebook and kernel dirs as well
1293
- new = change['new']
1294
- self.config.FileContentsManager.root_dir = new
1295
- self.config.MappingKernelManager.root_dir = new
1296
-
1297
# TODO: Remove me in notebook 5.0
1298
server_extensions = List(Unicode(), config=True,
1299
help=(_("DEPRECATED use the nbserver_extensions dict instead"))
0 commit comments