From cb1650d912b33a85e93b10c705122480c0a309ae Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 2 Jan 2019 19:12:18 +0100 Subject: [PATCH] send something pls --- webserver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webserver.py b/webserver.py index 7bca1e3b..22f1876e 100644 --- a/webserver.py +++ b/webserver.py @@ -415,8 +415,8 @@ def hooks_github(): # TODO: add secret check message = f"🐙 Nuovi aggiornamenti a Royalnet:\n" for commit in j.get("commits", []): - message += f"{commit['message']} di {commit['author']}\n" - telegram_bot.send_message(config["Telegram"]["main_group"], + message += f'{commit["message"]} di {commit["author"]}\n' + telegram_bot.send_message(config["Telegram"]["main_group"], message, parse_mode="HTML", disable_web_page_preview=True, disable_notification=True) return "Done."