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 2763a08 commit 81e2e6fCopy full SHA for 81e2e6f
s3fs/core.py
@@ -714,7 +714,7 @@ async def _lsdir(
714
if not prefix:
715
prefix = ""
716
if key:
717
- prefix = key.lstrip("/") + "/" + prefix
+ prefix = key + "/" + prefix
718
if path not in self.dircache or refresh or not delimiter or versions:
719
try:
720
logger.debug("Get directory listing page for %s" % path)
0 commit comments