Test again
This commit is contained in:
parent
f54ef4a662
commit
1b3b854622
|
@ -59,7 +59,7 @@ def fifo_hooks(payload, hook_name, hook_conf):
|
|||
"""Fifo web handler -- write 1 to a unix fifo"""
|
||||
try:
|
||||
with open(hook_conf["fifo_path"], "w") as fifo:
|
||||
fifo.write("1")
|
||||
fifo.write("1\n")
|
||||
print(f"Written to {hook_conf['fifo_path']}")
|
||||
except FileNotFoundError:
|
||||
return "No such fifo", 500
|
||||
|
|
Loading…
Reference in a new issue