aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
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 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