wsdump: Only catch relevant exceptions
This commit is contained in:
@@ -10,7 +10,7 @@ import websocket
|
|||||||
from six.moves.urllib.parse import urlparse
|
from six.moves.urllib.parse import urlparse
|
||||||
try:
|
try:
|
||||||
import readline
|
import readline
|
||||||
except:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user