Skip to content

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

@Bloggzy

Description

@Bloggzy

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions