From 12591d2357509305c33f5d75ba0d22e7aaaa948f Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 8 Feb 2019 21:54:33 +0000 Subject: [PATCH] Remove now not used params on _request() (rest_api.py) --- modules/rest_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rest_api.py b/modules/rest_api.py index f0e44032..77266144 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -26,7 +26,7 @@ class Handler(http.server.BaseHTTPRequestHandler): content_length = int(self.headers.get("content-length", 0)) return self.rfile.read(content_length) - def _handle(self, method, path, data="", params={}): + def _handle(self, method): endpoint, args = self._path_data() headers = utils.CaseInsensitiveDict(dict(self.headers.items())) params = self._url_params()