We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2df310 + 256e069 commit 2db18d0Copy full SHA for 2db18d0
cmd2.py
@@ -314,7 +314,7 @@ def new_func(instance, arg):
314
# Can we access the clipboard? Should always be true on Windows and Mac, but only sometimes on Linux
315
# noinspection PyUnresolvedReferences
316
try:
317
- if six.PY3 and sys.platform.startswith('linux'):
+ if sys.platform.startswith('linux'):
318
# Avoid extraneous output to stderr from xclip when clipboard is empty at cost of overwriting clipboard contents
319
pyperclip.copy('')
320
else:
0 commit comments