Skip to content

Commit

Permalink
format path in backend when listing
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisaCG committed Nov 26, 2024
1 parent 9784010 commit 2774654
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jupyter_drives/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ async def get_contents(self, drive_name, path):
"""
if path == '/':
path = ''
else:
path = path.strip('/')

try :
data = []
isDir = False
Expand Down

0 comments on commit 2774654

Please sign in to comment.