##// END OF EJS Templates
Merge pull request #8154 from takluyver/bigsplit-nbformat...
Merge pull request #8154 from takluyver/bigsplit-nbformat Big Split: nbformat -> jupyter_nbformat

File last commit:

r20867:432981e3
r20895:93f2e549 merge
Show More
manager.py
21 lines | 679 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.
from IPython.config.manager import BaseJSONConfigManager
from IPython.utils.path import locate_profile
from IPython.utils.traitlets import Unicode
class ConfigManager(BaseJSONConfigManager):
"""Config Manager used for storing notebook frontend config"""
profile = Unicode('default', config=True)
profile_dir = Unicode(config=True)
def _profile_dir_default(self):
return locate_profile(self.profile)
def _config_dir_default(self):
return self.profile_dir