aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/webhooks.py
diff options
context:
space:
mode:
authorArksine <arksine.code@gmail.com>2020-07-13 15:27:26 -0400
committerKevinOConnor <kevin@koconnor.net>2020-07-13 18:39:15 -0400
commit180f44b8763159d55e1c9c9339849765b093cbb7 (patch)
treef782cb75291eb2eaa59bb19cd90bb6a4eaa9df27 /klippy/webhooks.py
parentaf981432f0d62e21638a4cbab1c163e0c8440c3a (diff)
downloadkutter-180f44b8763159d55e1c9c9339849765b093cbb7.tar.gz
kutter-180f44b8763159d55e1c9c9339849765b093cbb7.tar.xz
kutter-180f44b8763159d55e1c9c9339849765b093cbb7.zip
webhooks: fix lambda wrapper around _process_request
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Diffstat (limited to 'klippy/webhooks.py')
-rw-r--r--klippy/webhooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/webhooks.py b/klippy/webhooks.py
index 1b601342..8be225a4 100644
--- a/klippy/webhooks.py
+++ b/klippy/webhooks.py
@@ -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: