diff --git a/modules/rest_api.py b/modules/rest_api.py index 4a71e834..3178a5bf 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -28,8 +28,8 @@ class Handler(http.server.BaseHTTPRequestHandler): permissions = key_setting.get("permissions", []) if key_setting: - _log.info("[HTTP] %s from API key %s (%s)" % - (method, key, key_setting["comment"])) + _log.info("[HTTP] %s from API key %s (%s)", + [method, key, key_setting["comment"]]) if not authenticated or path in permissions or "*" in permissions: if path.startswith("/api/"):