Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
pubpub-zz committed May 20, 2023
1 parent 4880f73 commit 7a1a714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypdf/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,5 +749,5 @@ def _xobj_to_image(x_object_obj: Dict[str, Any]) -> Tuple[Optional[str], bytes,
try: # temporary try/except until other fixes of images
img = Image.open(BytesIO(data))
except Exception:
img = None
img = None # type: ignore
return extension, data, img

0 comments on commit 7a1a714

Please sign in to comment.