Skip to content

Commit

Permalink
Merge pull request #153 from minrk/rm-old-ipython-nbextensions
Browse files Browse the repository at this point in the history
Stop looking in the old IPython directory for nbextensions
  • Loading branch information
echarles committed Sep 26, 2022
2 parents f77e848 + 4cdd71a commit 04aaebf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions nbclassic/notebookapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,6 @@ def template_file_path(self):
def nbextensions_path(self):
"""The path to look for Javascript notebook extensions"""
path = self.extra_nbextensions_path + jupyter_path('nbextensions')
# FIXME: remove IPython nbextensions path after a migration period
try:
from IPython.paths import get_ipython_dir
except ImportError:
pass
else:
path.append(os.path.join(get_ipython_dir(), 'nbextensions'))
return path

# Local path to static files directory.
Expand Down

0 comments on commit 04aaebf

Please sign in to comment.