Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Jul 26, 2024
1 parent 37ebd70 commit e5a1f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-io/src/path_utils/hugging_face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ pub(super) async fn expand_paths_hf(
let (prefix, expansion) = if glob {
extract_prefix_expansion(rel_path)?
} else {
(rel_path, None)
(path_parts.path.clone(), None)
};
let expansion_matcher = &if expansion.is_some() {
Some(Matcher::new(prefix.clone(), expansion.as_deref())?)
Expand Down

0 comments on commit e5a1f19

Please sign in to comment.