if not $HOTWORDS then stdout
This commit is contained in:
@@ -218,7 +218,10 @@ class Reactor(threading.Thread):
|
||||
if os.environ.get("DEBUG", None):
|
||||
log(f"seeking {hotwords} in {text}")
|
||||
if not hotwords:
|
||||
log(text)
|
||||
if os.environ.get("HOTWORDS", None):
|
||||
print(text)
|
||||
else:
|
||||
log(text)
|
||||
return
|
||||
cleantext = "".join([i for i in "".join(text.lower().split()) if i.isalpha()])
|
||||
for i in hotwords:
|
||||
|
||||
Reference in New Issue
Block a user