def config_file_paths(self): path = super(SingleUserNotebookApp, self).config_file_paths if self.disable_user_config: # filter out user-writable config dirs if user config is disabled path = list(_exclude_home(path)) return path
def _validate_static_custom_path(self, proposal): path = proposal['value'] if self.disable_user_config: path = list(_exclude_home(path)) return path
def nbextensions_path(self): path = super(SingleUserNotebookApp, self).nbextensions_path if self.disable_user_config: path = list(_exclude_home(path)) return path