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.
1 parent 9640e1f commit 765c9f7Copy full SHA for 765c9f7
notebook/notebookapp.py
@@ -1270,14 +1270,6 @@ def _notebook_dir_validate(self, proposal):
1270
raise TraitError(trans.gettext("No such notebook dir: '%r'") % value)
1271
return value
1272
1273
- @observe('notebook_dir')
1274
- def _update_notebook_dir(self, change):
1275
- """Do a bit of validation of the notebook dir."""
1276
- # setting App.notebook_dir implies setting notebook and kernel dirs as well
1277
- new = change['new']
1278
- self.config.FileContentsManager.root_dir = new
1279
- self.config.MappingKernelManager.root_dir = new
1280
-
1281
# TODO: Remove me in notebook 5.0
1282
server_extensions = List(Unicode(), config=True,
1283
help=(_("DEPRECATED use the nbserver_extensions dict instead"))
0 commit comments