Fix implicit-return in wyoming (#122946)

pull/115645/head
epenet 2024-07-31 20:42:57 +02:00 committed by GitHub
parent c0fe65fa60
commit 79a741486c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ class WyomingWakeWordProvider(wake_word.WakeWordDetectionEntity):
"""Get the next chunk from audio stream."""
async for chunk_bytes in stream:
return chunk_bytes
return None
try:
async with AsyncTcpClient(self.service.host, self.service.port) as client: