summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
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 ed709323..e3bf195c 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -109,7 +109,7 @@ else:
xclipproc = subprocess.Popen('xclip -o -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
if xclipproc.stdout.read() == teststring:
can_clip = True
- except (subprocess.CalledProcessError, OSError):
+ except (subprocess.CalledProcessError, OSError, IOError):
pass
if can_clip:
def getPasteBuffer():