Silence sonarlint warning

Signed-off-by: rany2 <rany2@riseup.net>
This commit is contained in:
rany2
2024-05-17 13:03:58 +03:00
parent 388e6f2e98
commit 6d9299a669

View File

@@ -444,9 +444,7 @@ class Communicate:
# Send the next SSML request to the service.
if not await send_ssml_request():
break
elif path in (b"response", b"turn.start"):
pass
else:
elif path not in (b"response", b"turn.start"):
raise UnknownResponse(
"The response from the service is not recognized.\n"
+ received.data