Skip to content

Commit

Permalink
MAINT: Improve wording of set_data error message (#2810)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan6419846 authored Aug 23, 2024
1 parent 9f08cd0 commit b7b3c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypdf/generic/_data_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ def set_data(self, data: bytes) -> None: # deprecated
super().set_data(FlateDecode.encode(data))
else:
raise PdfReadError(
"Streams encoded with different filter from only FlateDecode is not supported"
"Streams encoded with a filter different from FlateDecode are not supported"
)


Expand Down

0 comments on commit b7b3c8c

Please sign in to comment.