From f1c3b431cff8dd80c04b8c6f835b1b5c03c630c5 Mon Sep 17 00:00:00 2001 From: jayesh Date: Sun, 17 Nov 2024 14:28:08 +0530 Subject: [PATCH] ruff check --- .../livekit-plugins-google/livekit/plugins/google/stt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livekit-plugins/livekit-plugins-google/livekit/plugins/google/stt.py b/livekit-plugins/livekit-plugins-google/livekit/plugins/google/stt.py index 6185d26fd..87e813187 100644 --- a/livekit-plugins/livekit-plugins-google/livekit/plugins/google/stt.py +++ b/livekit-plugins/livekit-plugins-google/livekit/plugins/google/stt.py @@ -305,7 +305,7 @@ async def input_generator(): await self._run_stream(stream) except (Aborted, Exception) as e: error_type = "Aborted" if isinstance(e, Aborted) else "Error" - + if retry_count >= max_retry: logger.error( f"Failed to connect to Google STT after {max_retry} tries due to {error_type}",