aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/pathod.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r--libpathod/pathod.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py
index 991d3ae8..3c42573d 100644
--- a/libpathod/pathod.py
+++ b/libpathod/pathod.py
@@ -304,9 +304,10 @@ class PathodHandler(tcp.BaseHandler):
)])
if anchor_gen:
- lg("crafting spec: %s" % anchor_gen)
+ spec = anchor_gen.next()
+ lg("crafting spec: %s" % spec)
nexthandler, retlog["response"] = self.http_serve_crafted(
- anchor_gen.next()
+ spec
)
if nexthandler and websocket_key:
return self.handle_websocket, retlog