From 908edeb1e168afe19e17ac0b04c72d0579283863 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 6 Oct 2018 09:24:43 +0100 Subject: Typo in modules/github.py ('command' -> 'commit') and declare event_response outside of try/except in modules/rest_api.py --- modules/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/github.py') diff --git a/modules/github.py b/modules/github.py index 268c43ad..45c73619 100644 --- a/modules/github.py +++ b/modules/github.py @@ -14,7 +14,7 @@ class Module(ModuleManager.BaseModule): full_name = data["repository"]["full_name"] for commit in data["commits"]: - id = command["id"] + id = commit["id"] message = commit["message"] author = "%s <%s>" % (commit["author"]["username"], commit["author"]["email"]) -- cgit v1.3.1-10-gc9f91