claird / PyPDF4

A utility to read and write PDFs with Python
obsolete-https://pythonhosted.org/PyPDF2/
Other
328 stars 61 forks source link

addJS and addAttachment overwrite /Names table. #62

Open zcatbear opened 4 years ago

zcatbear commented 4 years ago

Each time you use addJS or addAttachment it overwrites the Names table in the Root Object.

MichaelMajdalani commented 4 years ago

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