Skip to content

Commit 9d848aa

Browse files
committed
fix: drop import
1 parent 6268830 commit 9d848aa

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/literary/hook/__init__.ipynb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"import sys\n",
4747
"import traceback\n",
4848
"\n",
49-
"from .finder import extend_file_finder, install_ipykernel_restrictor"
49+
"from .finder import extend_file_finder"
5050
]
5151
},
5252
{
@@ -143,10 +143,7 @@
143143
},
144144
"outputs": [],
145145
"source": [
146-
"def install_import_hook(set_except_hook=True, restrict_ipykernel_path=True):\n",
147-
" if restrict_ipykernel_path:\n",
148-
" install_ipykernel_restrictor()\n",
149-
"\n",
146+
"def install_import_hook(set_except_hook=True):\n",
150147
" extend_file_finder(\n",
151148
" (notebook_loader_factory, [\".ipynb\"]),\n",
152149
" )\n",

0 commit comments

Comments
 (0)