aboutsummaryrefslogtreecommitdiff
path: root/modules/git_webhooks
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-24 17:31:45 +0100
committerGravatar jesopo2019-06-24 17:31:45 +0100
commit280fd68f7f4b8a1e2e0d32a9d6adb78947d6547a (patch)
tree3f5f73f674b5c4c33f922dda71b14374be2d81a5 /modules/git_webhooks
parentReturn 0 seconds if timeout seconds is negative (diff)
signature
use pusher 'login' not 'name' - gitea doesn't have 'name'
Diffstat (limited to 'modules/git_webhooks')
-rw-r--r--modules/git_webhooks/gitea.py2
1 files changed, 1 insertions, 1 deletions
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"]: