Skip to content

Commit

Permalink
le-sigh
Browse files Browse the repository at this point in the history
  • Loading branch information
wiredfool committed Feb 18, 2025
1 parent e4ad2c0 commit cb14672
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PIL/Image.py
Original file line number Diff line number Diff line change
Expand Up @@ -3357,7 +3357,8 @@ def fromarrow(obj: SupportsArrowArrayInterface, mode, size) -> Image:
if _im:
return Image()._new(_im)

raise ValueError("new_arrow returned None without an exception")
msg = "new_arrow returned None without an exception"
raise ValueError(msg)


def fromqimage(im: ImageQt.QImage) -> ImageFile.ImageFile:
Expand Down

0 comments on commit cb14672

Please sign in to comment.