Skip to content

Commit 39cbd4f

Browse files
committed
Expanded error message strings
1 parent e7470ed commit 39cbd4f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/PIL/ImageGrab.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ def grabclipboard():
163163
# wl-paste, when the clipboard is empty
164164
b"Nothing is copied",
165165
# wl-paste/debian xclip, when an image isn't available
166-
b"not available",
166+
b" not available",
167167
# xclip, when an image isn't available
168-
b"cannot convert",
168+
b"cannot convert ",
169169
# xclip, when the clipboard isn't initialized
170-
b"There is no owner",
170+
b"xclip: Error: There is no owner for the ",
171171
]:
172172
if err in silent_error:
173173
return None

0 commit comments

Comments
 (0)