Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: encode_pdfdocencoding() always returns bytes
In the function encode_pdfdocencoding, cast its return value from bytearray to bytes to match its function signature. This casting is necessary because bytearray is duck type compatible with bytes in mypy, however this library expects only bytes in its Encryption class.
- Loading branch information