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 751f936 + 717b7ef commit 256e069Copy full SHA for 256e069
cmd2.py
@@ -308,7 +308,7 @@ def new_func(instance, arg):
308
# Can we access the clipboard? Should always be true on Windows and Mac, but only sometimes on Linux
309
# noinspection PyUnresolvedReferences
310
try:
311
- if six.PY3 and sys.platform.startswith('linux'):
+ if sys.platform.startswith('linux'):
312
# Avoid extraneous output to stderr from xclip when clipboard is empty at cost of overwriting clipboard contents
313
pyperclip.copy('')
314
else:
0 commit comments