From 8e1f281cbf2db4f3f41c3835cc0bb8ba3dede51b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 2 Jan 2019 19:19:10 +0100 Subject: [PATCH] Fix url in github hook --- webserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver.py b/webserver.py index d9fc67fc..18ac86d3 100644 --- a/webserver.py +++ b/webserver.py @@ -416,7 +416,7 @@ def hooks_github(): message = f"🐙 Nuovi aggiornamenti a Royalnet:\n" for commit in j.get("commits", []): if commit["distinct"]: - message += f'{commit["message"]} di {commit["author"].get("username", "anonimo")}\n' + message += f'{commit["message"]} di {commit["author"].get("username", "anonimo")}\n' telegram_bot.send_message(config["Telegram"]["main_group"], message, parse_mode="HTML", disable_web_page_preview=True, disable_notification=True) return "Done."