summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAllan Lewis <allanlewis@users.noreply.github.com>2016-04-27 11:32:46 +0100
committerAllan Lewis <allanlewis@users.noreply.github.com>2016-04-27 11:32:46 +0100
commite033f2bd0af1f591eebc2a91555576b8c58d7652 (patch)
tree2af675008604292267bb0d3d8480a9a0601af5a4 /bin
parent32728cb8d12fb842e5141723fd0621277d8eab67 (diff)
downloadwebsocket-client-e033f2bd0af1f591eebc2a91555576b8c58d7652.tar.gz
wsdump: Only catch relevant exceptions
Diffstat (limited to 'bin')
-rwxr-xr-xbin/wsdump.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/wsdump.py b/bin/wsdump.py
index d395419..88a6638 100755
--- a/bin/wsdump.py
+++ b/bin/wsdump.py
@@ -10,7 +10,7 @@ import websocket
from six.moves.urllib.parse import urlparse
try:
import readline
-except:
+except ImportError:
pass