use pusher 'login' not 'name' - gitea doesn't have 'name'
This commit is contained in:
parent
a1cc2e778c
commit
280fd68f7f
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class Gitea(object):
|
||||||
outputs = []
|
outputs = []
|
||||||
branch = data["ref"].split("/", 2)[2]
|
branch = data["ref"].split("/", 2)[2]
|
||||||
branch = utils.irc.color(branch, colors.COLOR_BRANCH)
|
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:
|
if len(data["commits"]) <= 3:
|
||||||
for commit in data["commits"]:
|
for commit in data["commits"]:
|
||||||
|
|
Loading…
Reference in a new issue