fix no arg mode
parent
e602a7addb
commit
855a14b985
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue