From 691fdf897868ef443efa1b10b76886cab812ffa5 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 20 Sep 2019 10:43:23 +0100 Subject: [PATCH] add missing ")" --- 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 17700369..61ea23ec 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -81,7 +81,7 @@ class Handler(http.server.BaseHTTPRequestHandler): def _url_for(self, headers): return (lambda route, endpoint, args=[], get_params={}: _module._url_for(route, endpoint, args, get_params, - headers.get("Host", None)) + headers.get("Host", None))) def _handle(self, method, path, endpoint, args): headers = utils.CaseInsensitiveDict(dict(self.headers.items()))