From f9186d7334487c0b76710e3bb4d65eea50909ccf Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 19 Jan 2019 08:02:34 +0000 Subject: [PATCH] typo, `commit["pusher"]` -> `data["pusher"]` (github) --- modules/github/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]))