fix no arg mode
This commit is contained in:
@@ -159,7 +159,7 @@ class Reactor(threading.Thread):
|
|||||||
def handle(self, text):
|
def handle(self, text):
|
||||||
hotwords = self.load_hotwords()
|
hotwords = self.load_hotwords()
|
||||||
if not hotwords:
|
if not hotwords:
|
||||||
self.outq.put(text)
|
self.outq.put(("", text))
|
||||||
return
|
return
|
||||||
cleantext = "".join([i for i in "".join(text.lower().split()) if i.isalpha()])
|
cleantext = "".join([i for i in "".join(text.lower().split()) if i.isalpha()])
|
||||||
for i in hotwords:
|
for i in hotwords:
|
||||||
|
|||||||
Reference in New Issue
Block a user