Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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