Skip to content

Commit eb6f390

Browse files
radarherehugovk
andauthored
Updated wording
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 5efc761 commit eb6f390

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PIL/ImageFile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ def setimage(
814814
self.state.ysize = y1 - y0
815815

816816
if self.state.xsize <= 0 or self.state.ysize <= 0:
817-
msg = "Size cannot be zero or negative"
817+
msg = "Size must be positive"
818818
raise ValueError(msg)
819819

820820
if (

0 commit comments

Comments
 (0)