if not $HOTWORDS then stdout
parent
22b6cf9446
commit
35a9f6486b
|
|
@ -218,6 +218,9 @@ class Reactor(threading.Thread):
|
||||||
if os.environ.get("DEBUG", None):
|
if os.environ.get("DEBUG", None):
|
||||||
log(f"seeking {hotwords} in {text}")
|
log(f"seeking {hotwords} in {text}")
|
||||||
if not hotwords:
|
if not hotwords:
|
||||||
|
if os.environ.get("HOTWORDS", None):
|
||||||
|
print(text)
|
||||||
|
else:
|
||||||
log(text)
|
log(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()])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue