diff --git a/websocket/_utils.py b/websocket/_utils.py index f431702..71d0e00 100644 --- a/websocket/_utils.py +++ b/websocket/_utils.py @@ -72,7 +72,7 @@ except ImportError: codep = (ch & 0x3f ) | (codep << 6) if (state != _UTF8_ACCEPT) else (0xff >> tp) & ch state = _UTF8D[256 + state + tp] - return state, codep; + return state, codep def _validate_utf8(utfbytes): state = _UTF8_ACCEPT