From 855a14b9851b15f346297b82341d4696a0a96194 Mon Sep 17 00:00:00 2001 From: bel Date: Sat, 25 Mar 2023 22:24:18 -0600 Subject: [PATCH] fix no arg mode --- whisper-2023/hotwords.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whisper-2023/hotwords.py b/whisper-2023/hotwords.py index 2239861..be73511 100644 --- a/whisper-2023/hotwords.py +++ b/whisper-2023/hotwords.py @@ -159,7 +159,7 @@ class Reactor(threading.Thread): def handle(self, text): hotwords = self.load_hotwords() if not hotwords: - self.outq.put(text) + self.outq.put(("", text)) return cleantext = "".join([i for i in "".join(text.lower().split()) if i.isalpha()]) for i in hotwords: