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