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 0327d7c commit 182bfd2Copy full SHA for 182bfd2
src/huggingface_hub/hf_file_system.py
@@ -463,7 +463,7 @@ def _ls_tree(
463
maxdepth: Optional[int] = None,
464
):
465
expand_info = (
466
- self.expand_info if self.expand_info is not None else (expand_info if expand_info is not None else False)
+ expand_info if expand_info is not None else (self.expand_info if self.expand_info is not None else False)
467
)
468
resolved_path = self.resolve_path(path, revision=revision)
469
path = resolved_path.unresolve()
0 commit comments