manager.py
14 lines
| 438 B
| text/x-python
|
PythonLexer
Thomas Kluyver
|
r19083 | """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. | ||||
Bussonnier Matthias
|
r19540 | import os | ||
Thomas Kluyver
|
r19083 | |||
Matthias Bussonnier
|
r19571 | from IPython.config.manager import BaseJSONConfigManager | ||
Thomas Kluyver
|
r19083 | |||
Matthias Bussonnier
|
r19571 | class ConfigManager(BaseJSONConfigManager): | ||
Thomas Kluyver
|
r20495 | """Config Manager used for storing notebook frontend config""" | ||
Thomas Kluyver
|
r19083 | |||
Bussonnier Matthias
|
r19540 | def _config_dir(self): | ||
Thomas Kluyver
|
r19083 | return os.path.join(self.profile_dir, 'nbconfig') | ||