git_webhooks/github.py: fix ping()

This commit is contained in:
David Schultz 2022-03-01 09:59:59 -06:00
parent 42fccbaec7
commit 8edf89da53
No known key found for this signature in database
GPG key ID: F6DED672FFFD5E5E

View file

@ -178,7 +178,7 @@ class GitHub(object):
return utils.datetime.parse.iso8601(s) return utils.datetime.parse.iso8601(s)
def ping(self, data): def ping(self, data):
return ["Received new webhook"] return [("Received new webhook", None)]
def _change_count(self, n, symbol, color): def _change_count(self, n, symbol, color):
return utils.irc.color("%s%d" % (symbol, n), color)+utils.irc.bold("") return utils.irc.color("%s%d" % (symbol, n), color)+utils.irc.bold("")