summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-06-30 23:16:49 -0400
committerGitHub <noreply@github.com>2017-06-30 23:16:49 -0400
commitb4ce107a16fdf0111a6f024a8d3a99132a858623 (patch)
tree5582c91c88f99135eb1d282c99a0c2851cf78d57 /cmd2.py
parent081dc2585faef4303974f4dd6d1707b191e7b56b (diff)
parentdbc1640af4b38f56a23b8c39af3e159ef5a349e2 (diff)
downloadcmd2-git-b4ce107a16fdf0111a6f024a8d3a99132a858623.tar.gz
Merge pull request #157 from python-cmd2/default_to_shell
Fixed a bug where an extraneous line was printed at start sometimes
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index e45970ce..dfb81b04 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -305,7 +305,7 @@ def options(option_list, arg_desc="arg"):
# Can we access the clipboard? Should always be true on Windows and Mac, but only sometimes on Linux
try:
- pyperclip.paste()
+ _ = pyperclip.paste()
except pyperclip.exceptions.PyperclipException:
can_clip = False
else: