Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jan 28, 2024
1 parent 607530d commit 0699033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/ImageGrab.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,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:
Expand Down

0 comments on commit 0699033

Please sign in to comment.