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 0c154c3 commit d80fb2cCopy full SHA for d80fb2c
src/zarr/storage/_zip.py
@@ -271,7 +271,7 @@ async def list_dir(self, prefix: str) -> AsyncIterator[str]:
271
yield key
272
else:
273
for key in keys:
274
- if key.startswith(prefix + "/") and key != prefix:
+ if key.startswith(prefix + "/") and key.strip("/") != prefix:
275
k = key.removeprefix(prefix + "/").split("/")[0]
276
if k not in seen:
277
seen.add(k)
0 commit comments