Skip to content

Commit

Permalink
fix: revert maxdepth update
Browse files Browse the repository at this point in the history
  • Loading branch information
john-jam committed Aug 8, 2023
1 parent b20ce62 commit e332f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsspec/asyn.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ async def _get(
# First check for rpath trailing slash as _strip_protocol removes it.
source_not_trailing_sep = source_is_str and not trailing_sep(rpath)
rpath = self._strip_protocol(rpath)
rpaths = await self._expand_path(rpath, recursive=recursive, maxdepth=maxdepth)
rpaths = await self._expand_path(rpath, recursive=recursive)
if source_is_str and (not recursive or maxdepth is not None):
# Non-recursive glob does not copy directories
rpaths = [
Expand Down

0 comments on commit e332f05

Please sign in to comment.