diff options
| author | Allan Lewis <allanlewis@users.noreply.github.com> | 2016-04-27 11:32:46 +0100 |
|---|---|---|
| committer | Allan Lewis <allanlewis@users.noreply.github.com> | 2016-04-27 11:32:46 +0100 |
| commit | e033f2bd0af1f591eebc2a91555576b8c58d7652 (patch) | |
| tree | 2af675008604292267bb0d3d8480a9a0601af5a4 /bin | |
| parent | 32728cb8d12fb842e5141723fd0621277d8eab67 (diff) | |
| download | websocket-client-e033f2bd0af1f591eebc2a91555576b8c58d7652.tar.gz | |
wsdump: Only catch relevant exceptions
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/wsdump.py | 2 |
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 |
