Skip to content

Commit

Permalink
fix str matching
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulDanielML committed Feb 11, 2022
1 parent c27b27e commit d598953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def match_search_str_in_dir(search_str: str, dir: Path) -> Path:
if not matching_files:
raise ValueError(f"No matches found for search string {search_str} (looking in {dir}).")

return dir / matching_files[0]
return matching_files[0]


def save_structure(obj: Any, name: str, path: Path, overwrite: bool = True) -> None:
Expand Down

0 comments on commit d598953

Please sign in to comment.