BitsParser icon indicating copy to clipboard operation
BitsParser copied to clipboard

Data output to out_file during process but final file is zero bytes

Open Bloggzy opened this issue 3 years ago • 0 comments

Firstly, great tool, thank you for all your efforts.

When using Python 3.10.5 and running BitsParser.py, I noticed the output file growing in size in the filesystem, but then returning to zero bytes a number of times. At the end of the process, the output file is zero bytes.

I changed line 333: sys.stdout = open(self.out_file, "w")

Opening the out_file with "a" rather than "w" and this appeared to work for me, but there is probably a better way?

Bloggzy avatar Jul 19 '22 00:07 Bloggzy