fix no arg mode

This commit is contained in:
bel
2023-03-25 22:24:18 -06:00
parent e602a7addb
commit 855a14b985

View File

@@ -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: