recovery the format

This commit is contained in:
lizheao 2017-05-01 22:38:01 +08:00
parent 6265ef31bf
commit 1ad50d4b64

View File

@ -50,7 +50,7 @@ class Blueprint:
methods=future.methods, methods=future.methods,
host=future.host or self.host, host=future.host or self.host,
strict_slashes=future.strict_slashes strict_slashes=future.strict_slashes
)(future.handler) )(future.handler)
for future in self.websocket_routes: for future in self.websocket_routes:
# attach the blueprint name to the handler so that it can be # attach the blueprint name to the handler so that it can be
@ -62,7 +62,7 @@ class Blueprint:
uri=uri, uri=uri,
host=future.host or self.host, host=future.host or self.host,
strict_slashes=future.strict_slashes strict_slashes=future.strict_slashes
)(future.handler) )(future.handler)
# Middleware # Middleware
for future in self.middlewares: for future in self.middlewares: