typo in modules/rest_api.py; 'resonse' -> 'response'

This commit is contained in:
jesopo 2018-11-11 08:55:49 +00:00
parent 9c7afe7d2b
commit b06eff217f

View file

@ -39,8 +39,8 @@ class Handler(http.server.BaseHTTPRequestHandler):
if not event_response == None:
if _bot.get_setting("api-minify", False):
resonse = json.dumps(event_response, sort_keys=True,
separators=(",", ":"))
response = json.dumps(event_response,
sort_keys=True, separators=(",", ":"))
else:
response = json.dumps(event_response,
sort_keys=True, indent=4)