aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-03-13 13:35:42 +0000
committerGravatar jesopo2019-03-13 13:35:42 +0000
commit6463bb16b5417bf781d20d66fc3496391f798722 (patch)
treefb2a2281d1c7c7471d36b14f38d8ffb83b0f3579 /modules
parentShow returned status code when _handle finishes (diff)
signature
move `code` in to the string format arg for log functions
Diffstat (limited to 'modules')
-rw-r--r--modules/rest_api.py2
1 files changed, 1 insertions, 1 deletions
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")