Skip to content

Commit

Permalink
Silence sonarlint warning
Browse files Browse the repository at this point in the history
Signed-off-by: rany2 <[email protected]>
  • Loading branch information
rany2 committed May 17, 2024
1 parent 388e6f2 commit 6d9299a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/edge_tts/communicate.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,7 @@ def parse_metadata() -> Dict[str, Any]:
# 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
Expand Down

0 comments on commit 6d9299a

Please sign in to comment.