##// END OF EJS Templates
Reload list after creating a new folder in promises....
Reload list after creating a new folder in promises. No need to reload session (I doubt creating a new folder create a session), and does it once the creation drive promise return which make the new directory appear in the listing for slow remote-backend (like google drive)

File last commit:

r19571:4aa90a90
r19983:aa964bbe
Show More
manager.py
14 lines | 434 B | text/x-python | PythonLexer
"""Manager to read and modify frontend config data in JSON files.
"""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
import os
from IPython.config.manager import BaseJSONConfigManager
class ConfigManager(BaseJSONConfigManager):
"""Config Manager use for storin Javascript side config"""
def _config_dir(self):
return os.path.join(self.profile_dir, 'nbconfig')