aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-20 10:43:23 +0100
committerGravatar jesopo2019-09-20 10:43:23 +0100
commit691fdf897868ef443efa1b10b76886cab812ffa5 (patch)
tree4891dc540535360a5a25b53c3fb4d42930e46b5f /modules
parentuse path-arg variables for AP urls, not get params (diff)
signature
add missing ")"
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 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()))