From 6463bb16b5417bf781d20d66fc3496391f798722 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 13 Mar 2019 13:35:42 +0000 Subject: move `code` in to the string format arg for log functions --- modules/rest_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/rest_api.py b/modules/rest_api.py index f75c279b..bd5aca40 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -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") -- cgit v1.3.1-10-gc9f91