diff options
| author | 2019-06-24 17:31:45 +0100 | |
|---|---|---|
| committer | 2019-06-24 17:31:45 +0100 | |
| commit | 280fd68f7f4b8a1e2e0d32a9d6adb78947d6547a (patch) | |
| tree | 3f5f73f674b5c4c33f922dda71b14374be2d81a5 /modules/git_webhooks/gitea.py | |
| parent | Return 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/gitea.py')
| -rw-r--r-- | modules/git_webhooks/gitea.py | 2 |
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"]: |
