summaryrefslogtreecommitdiff
path: root/websocket/_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'websocket/_utils.py')
-rw-r--r--websocket/_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/websocket/_utils.py b/websocket/_utils.py
index 8eddabf..32ee12e 100644
--- a/websocket/_utils.py
+++ b/websocket/_utils.py
@@ -32,6 +32,7 @@ class NoLock(object):
def __exit__(self, exc_type, exc_value, traceback):
pass
+
try:
# If wsaccel is available we use compiled routines to validate UTF-8
# strings.