From 280fd68f7f4b8a1e2e0d32a9d6adb78947d6547a Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 24 Jun 2019 17:31:45 +0100 Subject: [PATCH] use pusher 'login' not 'name' - gitea doesn't have 'name' --- modules/git_webhooks/gitea.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/git_webhooks/gitea.py b/modules/git_webhooks/gitea.py index b6e54b5d..7de8811b 100644 --- a/modules/git_webhooks/gitea.py +++ b/modules/git_webhooks/gitea.py @@ -131,7 +131,7 @@ class Gitea(object): outputs = [] branch = data["ref"].split("/", 2)[2] branch = utils.irc.color(branch, colors.COLOR_BRANCH) - author = utils.irc.bold(data["pusher"]["name"]) + author = utils.irc.bold(data["pusher"]["login"]) if len(data["commits"]) <= 3: for commit in data["commits"]: