From f0a59fccf8abbef6bd83dec4bcfb5d43e66a000d Mon Sep 17 00:00:00 2001 From: Dan Kruchinin Date: Tue, 4 Apr 2017 17:19:45 +0100 Subject: [PATCH] flake8-related fixes --- sanic/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sanic/app.py b/sanic/app.py index 75e97889..1d9a4987 100644 --- a/sanic/app.py +++ b/sanic/app.py @@ -484,13 +484,13 @@ class Sanic: # Response Middleware # -------------------------------------------- # try: - response = await self._run_response_middleware(request, response) + response = await self._run_response_middleware(request, + response) except: log.exception( 'Exception occured in one of response middleware handlers' ) - # pass the response to the correct callback if isinstance(response, StreamingHTTPResponse): await stream_callback(response)