master
bel 2023-03-31 21:35:23 -06:00
parent 599f9079d3
commit 0e6c12a94f
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class Actor(threading.Thread):
self.pid = int(environ["SIGUSR2"])
self.handle = self.handle_signal
elif os.environ.get("URL", ""):
self.url = environ["URL"]
self.url = os.environ["URL"]
self.handle = self.handle_url
self.headers = [i.split("=")[:2] for i in os.environ.get("HEADERS", "").split("//") if i]
self.body = os.environ.get("BODY", '{"hotword":"{{hotword}}","context":"{{context}}"}')