Update pylint parameters
This commit is contained in:
@@ -419,7 +419,7 @@ class Communicate:
|
||||
"We received a binary message, but it is missing the header length."
|
||||
)
|
||||
|
||||
# See: https://github.com/microsoft/cognitive-services-speech-sdk-js/blob/d071d11d1e9f34d6f79d0ab6114c90eecb02ba1f/src/common.speech/WebsocketMessageFormatter.ts#L46
|
||||
# See: https://github.com/microsoft/cognitive-services-speech-sdk-js/blob/d071d11/src/common.speech/WebsocketMessageFormatter.ts#L46
|
||||
header_length = int.from_bytes(received.data[:2], "big")
|
||||
if len(received.data) < header_length + 2:
|
||||
raise UnexpectedResponse(
|
||||
|
||||
Reference in New Issue
Block a user