예제 #1
0
    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
예제 #2
0
 def _validate_static_custom_path(self, proposal):
     path = proposal['value']
     if self.disable_user_config:
         path = list(_exclude_home(path))
     return path
예제 #3
0
    def nbextensions_path(self):
        path = super(SingleUserNotebookApp, self).nbextensions_path

        if self.disable_user_config:
            path = list(_exclude_home(path))
        return path