Skip to content

Commit 79beefc

Browse files
author
sgref
committed
Fix recursive _expand_path when called with a glob
1 parent 35697b4 commit 79beefc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adlfs/spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1530,7 +1530,7 @@ async def _expand_path(self, path, recursive=False, maxdepth=None, **kwargs):
15301530
bit = set(await self._glob(p))
15311531
out |= bit
15321532
if recursive:
1533-
bit2 = set(await self._expand_path(p))
1533+
bit2 = set(await self._glob_find(p, withdirs=True))
15341534
out |= bit2
15351535
continue
15361536
elif recursive:

0 commit comments

Comments
 (0)