diff --git a/sanic/blueprints.py b/sanic/blueprints.py index b4ca5f6b..80f8437e 100644 --- a/sanic/blueprints.py +++ b/sanic/blueprints.py @@ -50,7 +50,7 @@ class Blueprint: methods=future.methods, host=future.host or self.host, strict_slashes=future.strict_slashes - )(future.handler) + )(future.handler) for future in self.websocket_routes: # attach the blueprint name to the handler so that it can be @@ -62,7 +62,7 @@ class Blueprint: uri=uri, host=future.host or self.host, strict_slashes=future.strict_slashes - )(future.handler) + )(future.handler) # Middleware for future in self.middlewares: