移除未使用的total_duration返回值

This commit is contained in:
Chingfeng Li
2025-08-04 13:49:12 +08:00
parent 5fe91a80fa
commit 8b81b918cc
5 changed files with 12 additions and 29 deletions
@@ -83,7 +83,7 @@ async def checkWakeupWords(conn, text):
# 播放唤醒词回复
conn.client_abort = False
opus_packets, _ = audio_to_data(response.get("file_path"))
opus_packets = audio_to_data(response.get("file_path"))
conn.logger.bind(tag=TAG).info(f"播放唤醒词回复: {response.get('text')}")
await sendAudioMessage(conn, SentenceType.FIRST, opus_packets, response.get("text"))