Skip to content

Commit 04aaebf

Browse files
authored
Merge pull request #153 from minrk/rm-old-ipython-nbextensions
Stop looking in the old IPython directory for nbextensions
2 parents f77e848 + 4cdd71a commit 04aaebf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

nbclassic/notebookapp.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,6 @@ def template_file_path(self):
167167
def nbextensions_path(self):
168168
"""The path to look for Javascript notebook extensions"""
169169
path = self.extra_nbextensions_path + jupyter_path('nbextensions')
170-
# FIXME: remove IPython nbextensions path after a migration period
171-
try:
172-
from IPython.paths import get_ipython_dir
173-
except ImportError:
174-
pass
175-
else:
176-
path.append(os.path.join(get_ipython_dir(), 'nbextensions'))
177170
return path
178171

179172
# Local path to static files directory.

0 commit comments

Comments
 (0)