Skip to content

Commit

Permalink
style(filesystem): remove Path casting
Browse files Browse the repository at this point in the history
  • Loading branch information
mabw-rte committed Oct 24, 2024
1 parent bc97717 commit ee43b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antarest/study/storage/rawstudy/model/filesystem/inode.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _extract_file_to_tmp_dir(
raise ShouldNotHappenException()
inside_archive_path = self.config.path.relative_to(self.config.archive_path.parent / self.config.study_id)
if self.config.archive_path:
return extract_file_to_tmp_dir(self.config.archive_path, Path(inside_archive_path))
return extract_file_to_tmp_dir(self.config.archive_path, inside_archive_path)
else:
raise ShouldNotHappenException()

Expand Down

0 comments on commit ee43b1f

Please sign in to comment.