diff --git a/sanic/server.py b/sanic/server.py index ec4e5780..e802b5df 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -116,7 +116,7 @@ class HttpProtocol(asyncio.Protocol): def on_headers_complete(self): ra = self.transport.get_extra_info('peername') if ra: - self.headers.append(('Remote-Addr','%s:%s' % ra)) + self.headers.append(('Remote-Addr', '%s:%s' % ra)) self.request = Request( url_bytes=self.url,