This commit is contained in:
pengtao 2021-06-15 18:15:39 +08:00
parent 01c103b48c
commit d3148c9290

2
web.py
View File

@ -46,7 +46,7 @@ class DispatchHandler(tornado.web.RequestHandler):
@gen.coroutine
def post(self):
pdb.set_trace()
# pdb.set_trace()
data = json.loads(self.request.body)
if data.get('event_name', None) == 'push':
yield self._git_webhook()