Skip to content

Commit

Permalink
Merge pull request #213 from takluyver/jupyter-nbconfig-subdir
Browse files Browse the repository at this point in the history
Store frontend config in nbconfig/ subdirectory
  • Loading branch information
Carreau committed Jul 20, 2015
2 parents 1c3db62 + 3c42206 commit cc1f01d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion notebook/services/config/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

import os.path

from traitlets.config.manager import BaseJSONConfigManager
from jupyter_core.paths import jupyter_config_dir
from traitlets import Unicode
Expand All @@ -12,4 +14,4 @@ class ConfigManager(BaseJSONConfigManager):

config_dir = Unicode(config=True)
def _config_dir_default(self):
return jupyter_config_dir()
return os.path.join(jupyter_config_dir(), 'nbconfig')

0 comments on commit cc1f01d

Please sign in to comment.