From 1b3b854622a7101bb8a687557e68214793cb76ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Sun, 17 Apr 2022 18:38:15 +0200 Subject: [PATCH] Test again --- gitea_hooks/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitea_hooks/app.py b/gitea_hooks/app.py index 9c697dc..3e398a4 100644 --- a/gitea_hooks/app.py +++ b/gitea_hooks/app.py @@ -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