mlodic / pdfid

MIT License
13 stars 4 forks source link

fix: passing disarmed buffer out #8

Closed dealbreaker973 closed 1 year ago

dealbreaker973 commented 1 year ago

Hi, I looked into the code, if not disarmed_filebuffers: will always equal to False, and after disarmed_filebuffers = [] was executed, disarmed_filebuffers was changed to point to a newly created list, so any changes to it are not passed to the original disarmed_filebuffers list.

I believe this will address issue #7.