Skip to content

Commit 2c16e15

Browse files
committed
minor changes
1 parent cf17a40 commit 2c16e15

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

jupyter_server/services/contents/filemanager.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ def _dir_model(self, path, content=True):
319319

320320
if content:
321321
model["content"] = contents = []
322-
os_dir = os_path
323322
for name in os.listdir(os_dir):
324323
try:
325324
os_path = os.path.join(os_dir, name)
@@ -808,7 +807,6 @@ async def _dir_model(self, path, content=True):
808807

809808
if content:
810809
model["content"] = contents = []
811-
os_dir = os_path
812810
dir_contents = await run_sync(os.listdir, os_dir)
813811
for name in dir_contents:
814812
try:

0 commit comments

Comments
 (0)