Skip to content

Commit

Permalink
Merge pull request #6859 from radarhere/xclip
Browse files Browse the repository at this point in the history
Resolves #6858
  • Loading branch information
hugovk committed Jan 3, 2023
2 parents f5c47eb + e653aae commit 927780e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/test_imagegrab.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_grabclipboard(self):
)
p.communicate()
else:
if not shutil.which("wl-paste"):
if not shutil.which("wl-paste") and not shutil.which("xclip"):
with pytest.raises(
NotImplementedError,
match="wl-paste or xclip is required for"
Expand Down

0 comments on commit 927780e

Please sign in to comment.