diff options
| author | 2019-02-07 07:42:05 +0000 | |
|---|---|---|
| committer | 2019-02-07 07:42:05 +0000 | |
| commit | d013703705e01cb5e41fe7dac2de58901ca0b22d (patch) | |
| tree | c8787f594e02d32a23ba96d294f8f8066b1a1250 /modules/github/__init__.py | |
| parent | Don't use string concat when we're already using %s formatting (sasl.scram) (diff) | |
| signature | ||
`commit_comment` events have `commit_id` in `comment`, not in the root data (github)
Diffstat (limited to 'modules/github/__init__.py')
| -rw-r--r-- | modules/github/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py index 88ba324d..7459e25b 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -420,7 +420,7 @@ class Module(ModuleManager.BaseModule): def commit_comment(self, full_name, data): action = data["action"] - commit = data["commit_id"][:8] + commit = data["comment"]["commit_id"][:8] commenter = utils.irc.bold(data["comment"]["user"]["login"]) url = self._short_url(data["comment"]["html_url"]) return ["[commit/%s] %s commented" % (commit, commenter, action)] |
