From 97966a1085bb80627c4cb9bef860304c9e605959 Mon Sep 17 00:00:00 2001 From: bel Date: Sat, 25 Mar 2023 21:58:43 -0600 Subject: [PATCH] sh --- whisper-2023/hotwords.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/whisper-2023/hotwords.py b/whisper-2023/hotwords.py index 590e05f..1ff0c05 100644 --- a/whisper-2023/hotwords.py +++ b/whisper-2023/hotwords.py @@ -73,7 +73,8 @@ class Reader(threading.Thread): try: self.outq.put(self._run(mic)) except Exception as e: - log("Reader.run: error:", e) + if not "timed out" in str(e): + log("Reader.run: error:", e) self.outq.put(None) log("Reader.run: stop")