Corrected check

This commit is contained in:
Andrew Murray 2024-01-28 16:49:44 +11:00
parent 5efa2ade22
commit d57b5e827c

View File

@ -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: