Missed giving the argument to actually be able to write the response.
This commit is contained in:
PhyberApex 2019-10-27 02:02:34 +02:00 committed by GitHub
parent 441bd905a5
commit 69b3fabba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,7 +177,7 @@ class Handler(BaseHTTPRequestHandler):
groups = matches.groups() groups = matches.groups()
plugin_name = groups[0] plugin_name = groups[0]
right_path = groups[1] if len(groups) == 2 else None right_path = groups[1] if len(groups) == 2 else None
plugins.one(plugin_name, 'webhook', right_path) plugins.one(plugin_name, 'webhook', self, right_path)
else: else:
self.send_response(404) self.send_response(404)