PyPDF4
PyPDF4 copied to clipboard
addJS and addAttachment overwrite /Names table.
Each time you use addJS or addAttachment it overwrites the Names table in the Root Object.
If you addJS before you addAttachment then it won't overwrite the Names table, it's a quick workaround I found instead of having to edit the library functions