@ -26,7 +26,10 @@ class FileContentsManager(ContentsManager):
root_dir = Unicode(config=True)
def _root_dir_default(self):
return self.parent.notebook_dir
try:
except AttributeError:
return getcwd()
save_script = Bool(False, config=True, help='DEPRECATED, IGNORED')
def _save_script_changed(self):
@ -29,7 +29,10 @@ class MappingKernelManager(MultiKernelManager):
def _root_dir_changed(self, name, old, new):
"""Do a bit of validation of the root dir."""