typo, commit["pusher"] -> data["pusher"] (github)

This commit is contained in:
jesopo 2019-01-19 08:02:34 +00:00
parent 202991a268
commit f9186d7334

View file

@ -355,7 +355,7 @@ class Module(ModuleManager.BaseModule):
for commit in data["commits"]: for commit in data["commits"]:
id = self._short_hash(commit["id"]) id = self._short_hash(commit["id"])
message = commit["message"].split("\n")[0].strip() 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)) url = self._short_url(COMMIT_URL % (full_name, id))
added = self._added(len(commit["added"])) added = self._added(len(commit["added"]))