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 263982d commit 272df8cCopy full SHA for 272df8c
qt/python/mantidqt/mantidqt/dialogs/errorreports/run_pystack.py
@@ -103,10 +103,10 @@ def _get_output_from_pystack(core_dump_file: Path) -> str:
103
104
105
def _decompress_lz4_file(lz4_core_dump_file: Path) -> Path:
106
- tmp_decompressed_core_file = NamedTemporaryFile()
+ tmp_decompressed_core_file = NamedTemporaryFile(delete=False)
107
with lz4.frame.open(lz4_core_dump_file.as_posix(), "r") as lz4_fp:
108
tmp_decompressed_core_file.write(lz4_fp.read())
109
- return tmp_decompressed_core_file
+ return Path(tmp_decompressed_core_file.name)
110
111
112
def _is_lz4_file(core_dump_file: Path) -> bool:
0 commit comments