aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/webhooks.py
diff options
context:
space:
mode:
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 09efbaec..24613b04 100644
--- a/klippy/webhooks.py
+++ b/klippy/webhooks.py
@@ -288,7 +288,7 @@ class WebHooks:
self._endpoints[path] = callback
def _handle_list_endpoints(self, web_request):
- web_request.send({'endpoints': self._endpoints.keys()})
+ web_request.send({'endpoints': list(self._endpoints.keys())})
def _handle_info_request(self, web_request):
client_info = web_request.get_dict('client_info', None)