diff options
| author | 2019-09-10 16:29:35 +0100 | |
|---|---|---|
| committer | 2019-09-10 16:29:35 +0100 | |
| commit | 7636843fc7bf1732c187be2a5b7d562255735fd0 (patch) | |
| tree | c312d09b1e26d3d0eae6108f0ec6e5e5d8363035 /modules/rest_api.py | |
| parent | 'location' -> 'self_id' (diff) | |
| signature | ||
'get_params' -> 'get_params_str'
Diffstat (limited to 'modules/rest_api.py')
| -rw-r--r-- | modules/rest_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest_api.py b/modules/rest_api.py index 67e71bf2..18ddf3c1 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -80,7 +80,7 @@ class Handler(http.server.BaseHTTPRequestHandler): host = headers["Host"] get_params_str = "" if get_params: - get_params = "?%s" % urllib.parse.urlencode(get_params) + get_params_str = "?%s" % urllib.parse.urlencode(get_params) return "%s/%s/%s%s" % (host, route, endpoint, get_params_str) else: return None |
