Skip to content

Commit 2049dbf

Browse files
author
astromancer
committed
fix typos
1 parent 2248f6e commit 2049dbf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/jupyter_contrib_nbextensions/install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def toggle_install_config(install, user=False, sys_prefix=False,
120120
if logger:
121121
logger.info('-- Configuring nbconvert template path')
122122
# our templates directory
123-
_update_config_list(config, 'Exporter.extra_template_pathss', [
123+
_update_config_list(config, 'Exporter.extra_template_paths', [
124124
'.',
125125
jupyter_contrib_nbextensions.nbconvert_support.templates_directory(),
126126
], install)

src/jupyter_contrib_nbextensions/migrate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def _uninstall_pre_config(logger=None):
117117
# and notebook < 4.2 key server_extensions
118118
_update_config_list(
119119
config, 'NotebookApp.server_extensions', to_remove, False)
120-
_update_config_list(config, 'NotebookApp.extra_template_pathss', [
120+
_update_config_list(config, 'NotebookApp.extra_template_paths', [
121121
os.path.join(jupyter_data_dir(), 'templates'),
122122
], False)
123123
_set_managed_config(cm, config_basename, config, logger)
@@ -128,7 +128,7 @@ def _uninstall_pre_config(logger=None):
128128
config = Config(cm.get(config_basename))
129129
if config and logger:
130130
logger.info('- Removing old config values from {}'.format(config_path))
131-
_update_config_list(config, 'Exporter.extra_template_pathss', [
131+
_update_config_list(config, 'Exporter.extra_template_paths', [
132132
'.', os.path.join(jupyter_data_dir(), 'templates'),
133133
], False)
134134
_update_config_list(config, 'Exporter.preprocessors', [

0 commit comments

Comments
 (0)