diff --git a/modules/rest_api.py b/modules/rest_api.py index b17875cc..b7e0d657 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -36,7 +36,7 @@ class Handler(http.server.BaseHTTPRequestHandler): def _get_settings(self): key = params.get("key", None) key_setting = _bot.get_setting("api-key-%s" % key, {}) - minify = _bot.get_setting("rest-api-minify", False): + minify = _bot.get_setting("rest-api-minify", False) return [key_setting, minify] def _handle(self, method):