This commit is contained in:
Théophile Bastian 2022-04-17 18:31:27 +02:00
parent ff8a91599a
commit f54ef4a662

View file

@ -60,6 +60,7 @@ def fifo_hooks(payload, hook_name, hook_conf):
try:
with open(hook_conf["fifo_path"], "w") as fifo:
fifo.write("1")
print(f"Written to {hook_conf['fifo_path']}")
except FileNotFoundError:
return "No such fifo", 500
except PermissionError: