File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11## 0.9.17 (TBD, 2019)
22* Bug Fixes
33 * Fixed a bug when using WSL when all Windows paths have been removed from $PATH
4+ * Fixed a bug when running a cmd2 application on Linux without Gtk libraries installed
45* Enhancements
56 * No longer treating empty text scripts as an error condition
67
Original file line number Diff line number Diff line change 1010try :
1111 # Try getting the contents of the clipboard
1212 _ = pyperclip .paste ()
13- except (PyperclipException , FileNotFoundError ):
13+ except (PyperclipException , FileNotFoundError , ValueError ):
1414 # NOTE: FileNotFoundError is for Windows Subsystem for Linux (WSL) when Windows paths are removed from $PATH
15+ # NOTE: ValueError is for headless Linux systems without Gtk installed
1516 can_clip = False
1617else :
1718 can_clip = True
You can’t perform that action at this time.
0 commit comments