From 06f7a92c99ce3cebcde1a67c5997a5851a0ad072 Mon Sep 17 00:00:00 2001 From: Sam Sykes Date: Wed, 27 Aug 2025 14:43:07 +0100 Subject: [PATCH] fix to `finally` statement --- src/pipecat/services/speechmatics/stt.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pipecat/services/speechmatics/stt.py b/src/pipecat/services/speechmatics/stt.py index d1091b5f0..7ac4c6f2a 100644 --- a/src/pipecat/services/speechmatics/stt.py +++ b/src/pipecat/services/speechmatics/stt.py @@ -581,7 +581,6 @@ class SpeechmaticsSTTService(STTService): logger.debug(f"{self} Connected to Speechmatics STT service") except Exception as e: logger.error(f"{self} Error connecting to Speechmatics: {e}") - finally: self._client = None async def _disconnect(self) -> None: