Skip to content

Commit

Permalink
return Path type as intended
Browse files Browse the repository at this point in the history
  • Loading branch information
jhaigh0 committed Jan 20, 2025
1 parent 263982d commit 2c8717a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def _decompress_lz4_file(lz4_core_dump_file: Path) -> Path:
tmp_decompressed_core_file = NamedTemporaryFile()
with lz4.frame.open(lz4_core_dump_file.as_posix(), "r") as lz4_fp:
tmp_decompressed_core_file.write(lz4_fp.read())
return tmp_decompressed_core_file
return Path(tmp_decompressed_core_file.name)


def _is_lz4_file(core_dump_file: Path) -> bool:
Expand Down

0 comments on commit 2c8717a

Please sign in to comment.