move code in to the string format arg for log functions

This commit is contained in:
jesopo 2019-03-13 13:35:42 +00:00
parent 6c5a6ff9cd
commit 6463bb16b5

View file

@ -96,7 +96,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
self._respond(code, headers, response)
_log.debug("[HTTP] finishing _handle for %s from %s:%d (%d)",
[method, self.client_address[0], self.client_address[1]], code)
[method, self.client_address[0], self.client_address[1], code])
def do_GET(self):
self._handle("GET")