mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +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
|
||||
b"xclip: Error: There is no owner for the ",
|
||||
]:
|
||||
if err in silent_error:
|
||||
if silent_error in err:
|
||||
return None
|
||||
msg = f"{args[0]} error"
|
||||
if err:
|
||||
|
|
Loading…
Reference in New Issue
Block a user