aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/github.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py
index e1b23ea8..36a04f0b 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -33,7 +33,7 @@ COMMENT_ACTIONS = {
class Module(ModuleManager.BaseModule):
@utils.hook("api.post.github")
def github(self, event):
- data = json.loads(event["data"])
+ data = json.loads(event["data"].decode("utf8"))
github_event = event["headers"]["X-GitHub-Event"]
if github_event == "ping":