mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-05 16:33:42 +03:00
Corrected check
This commit is contained in:
parent
5efa2ade22
commit
d57b5e827c
|
@ -173,7 +173,7 @@ def grabclipboard():
|
||||||
# xclip, when the clipboard isn't initialized
|
# xclip, when the clipboard isn't initialized
|
||||||
b"xclip: Error: There is no owner for the ",
|
b"xclip: Error: There is no owner for the ",
|
||||||
]:
|
]:
|
||||||
if err in silent_error:
|
if silent_error in err:
|
||||||
return None
|
return None
|
||||||
msg = f"{args[0]} error"
|
msg = f"{args[0]} error"
|
||||||
if err:
|
if err:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user