diff options
author | Arksine <arksine.code@gmail.com> | 2020-07-13 15:27:26 -0400 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2020-07-13 18:39:15 -0400 |
commit | 180f44b8763159d55e1c9c9339849765b093cbb7 (patch) | |
tree | f782cb75291eb2eaa59bb19cd90bb6a4eaa9df27 | |
parent | af981432f0d62e21638a4cbab1c163e0c8440c3a (diff) | |
download | kutter-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>
-rw-r--r-- | klippy/webhooks.py | 2 |
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: |