Skip to content

Commit 2db18d0

Browse files
committed
Merge branch 'master' into buffer_size
2 parents a2df310 + 256e069 commit 2db18d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def new_func(instance, arg):
314314
# Can we access the clipboard? Should always be true on Windows and Mac, but only sometimes on Linux
315315
# noinspection PyUnresolvedReferences
316316
try:
317-
if six.PY3 and sys.platform.startswith('linux'):
317+
if sys.platform.startswith('linux'):
318318
# Avoid extraneous output to stderr from xclip when clipboard is empty at cost of overwriting clipboard contents
319319
pyperclip.copy('')
320320
else:

0 commit comments

Comments
 (0)