Skip to content

Commit 182bfd2

Browse files
Update src/huggingface_hub/hf_file_system.py
Co-authored-by: célina <[email protected]>
1 parent 0327d7c commit 182bfd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/huggingface_hub/hf_file_system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ def _ls_tree(
463463
maxdepth: Optional[int] = None,
464464
):
465465
expand_info = (
466-
self.expand_info if self.expand_info is not None else (expand_info if expand_info is not None else False)
466+
expand_info if expand_info is not None else (self.expand_info if self.expand_info is not None else False)
467467
)
468468
resolved_path = self.resolve_path(path, revision=revision)
469469
path = resolved_path.unresolve()

0 commit comments

Comments
 (0)