Skip to content

Commit

Permalink
Merge branch 'master' of github.com:asweigart/pyperclip into master
Browse files Browse the repository at this point in the history
  • Loading branch information
asweigart committed Feb 21, 2021
2 parents 5d58893 + 76e2dcb commit 332c23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyperclip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ def determine_clipboard():
return init_gtk_clipboard()

if (
os.environ["XDG_SESSION_TYPE"] == "wayland" and
os.environ.get("WAYLAND_DISPLAY") and
_executable_exists("wl-copy")
):
return init_wl_clipboard()
Expand Down

0 comments on commit 332c23f

Please sign in to comment.