webhooks: fix lambda wrapper around _process_request

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2020-07-13 15:27:26 -04:00 committed by KevinOConnor
parent af981432f0
commit 180f44b876
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ class ServerConnection:
% (req))
continue
self.reactor.register_callback(
lambda e, s=self: s._process_request(web_request))
lambda e, s=self, wr=web_request: s._process_request(wr))
def _process_request(self, web_request):
try: