diff options
| author | 2019-01-19 08:02:34 +0000 | |
|---|---|---|
| committer | 2019-01-19 08:02:34 +0000 | |
| commit | f9186d7334487c0b76710e3bb4d65eea50909ccf (patch) | |
| tree | 45a22367d99d6b93c569dbf410f5e47a94180238 /modules | |
| parent | use `data["pusher"]["name"]` as `data["author"]["login"]` doesn't exist (github) (diff) | |
| signature | ||
typo, `commit["pusher"]` -> `data["pusher"]` (github)
Diffstat (limited to 'modules')
| -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 b46d75b4..e9b501e7 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["pusher"]["name"]) + author = utils.irc.bold(data["pusher"]["name"]) url = self._short_url(COMMIT_URL % (full_name, id)) added = self._added(len(commit["added"])) |
