Merge pull request #423 from PhyberApex/patch-2

Fix for #421 / Webhook missing positional argiment
This commit is contained in:
evilsocket 2019-10-27 12:56:59 +01:00 committed by GitHub
commit 321595f93c
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()
plugin_name = groups[0]
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:
self.send_response(404)