diff options
-rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -305,7 +305,7 @@ def options(option_list, arg_desc="arg"): # Can we access the clipboard, always true on Windows and Mac, but only sometimes on Linux can_clip = True -if sys.platform == 'linux': +if sys.platform.startswith('linux'): try: pyperclip.paste() except pyperclip.exceptions.PyperclipException: |