From 9c7afe7d2b52768d5e73134495ce5c558fcffd84 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 11 Nov 2018 08:54:46 +0000 Subject: [PATCH] Add missing "," in modules/rest_api.py --- modules/rest_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rest_api.py b/modules/rest_api.py index 83fb893c..0c58fa6b 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -39,7 +39,7 @@ 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 + resonse = json.dumps(event_response, sort_keys=True, separators=(",", ":")) else: response = json.dumps(event_response,