mirror of https://github.com/Desuuuu/klipper.git
webhooks: fix lambda wrapper around _process_request
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
af981432f0
commit
180f44b876
|
@ -161,7 +161,7 @@ class ServerConnection:
|
||||||
% (req))
|
% (req))
|
||||||
continue
|
continue
|
||||||
self.reactor.register_callback(
|
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):
|
def _process_request(self, web_request):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue