From b06eff217f4b059439c6fcf01dd6671347298b66 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 11 Nov 2018 08:55:49 +0000 Subject: [PATCH] typo in modules/rest_api.py; 'resonse' -> 'response' --- modules/rest_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rest_api.py b/modules/rest_api.py index 0c58fa6b..3a08cf70 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -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)