diff options
| author | 2019-01-19 08:00:31 +0000 | |
|---|---|---|
| committer | 2019-01-19 08:00:31 +0000 | |
| commit | 202991a26862e71db59402f08866ab71d116692c (patch) | |
| tree | 23fd79aa74532ba80c3e742ae400971171c0cf31 /modules/github | |
| parent | Clarify `[hook]` and add sections for `branches` subcommand (github) (diff) | |
| signature | ||
use `data["pusher"]["name"]` as `data["author"]["login"]` doesn't exist (github)
Diffstat (limited to 'modules/github')
| -rw-r--r-- | modules/github/module.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github/module.py b/modules/github/module.py index 02a0e962..b46d75b4 100644 --- a/modules/github/module.py +++ b/modules/github/module.py @@ -355,7 +355,7 @@ class Module(ModuleManager.BaseModule): for commit in data["commits"]: id = self._short_hash(commit["id"]) message = commit["message"].split("\n")[0].strip() - author = utils.irc.bold(commit["author"]["login"]) + author = utils.irc.bold(commit["pusher"]["name"]) url = self._short_url(COMMIT_URL % (full_name, id)) added = self._added(len(commit["added"])) |
