Show More
@@ -86,7 +86,7 b' class BaseJSONConfigManager(LoggingConfigurable):' | |||
|
86 | 86 | else: |
|
87 | 87 | f = open(filename, 'wb') |
|
88 | 88 | with f: |
|
89 | json.dump(data, f) | |
|
89 | json.dump(data, f, indent=2) | |
|
90 | 90 | |
|
91 | 91 | def update(self, section_name, new_data): |
|
92 | 92 | """Modify the config section by recursively updating it with new_data. |
@@ -8,7 +8,7 b' import os' | |||
|
8 | 8 | from IPython.config.manager import BaseJSONConfigManager |
|
9 | 9 | |
|
10 | 10 | class ConfigManager(BaseJSONConfigManager): |
|
11 |
"""Config Manager use for storin |
|
|
11 | """Config Manager used for storing notebook frontend config""" | |
|
12 | 12 | |
|
13 | 13 | def _config_dir(self): |
|
14 | 14 | return os.path.join(self.profile_dir, 'nbconfig') |
General Comments 0
You need to be logged in to leave comments.
Login now