From e033f2bd0af1f591eebc2a91555576b8c58d7652 Mon Sep 17 00:00:00 2001 From: Allan Lewis Date: Wed, 27 Apr 2016 11:32:46 +0100 Subject: [PATCH] wsdump: Only catch relevant exceptions --- bin/wsdump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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