We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f17d2 commit 8c023d9Copy full SHA for 8c023d9
s3fs/core.py
@@ -697,7 +697,7 @@ async def _lsdir(
697
if not prefix:
698
prefix = ""
699
if key:
700
- prefix = key.lstrip("/") + "/" + prefix
+ prefix = key + "/" + prefix
701
if path not in self.dircache or refresh or not delimiter or versions:
702
try:
703
logger.debug("Get directory listing page for %s" % path)
0 commit comments