Remove copy-pasted ":" (rest_api.py)

This commit is contained in:
jesopo 2019-02-19 19:47:14 +00:00
parent 2691fa52e6
commit a3a75f3480

View file

@ -36,7 +36,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
def _get_settings(self): def _get_settings(self):
key = params.get("key", None) key = params.get("key", None)
key_setting = _bot.get_setting("api-key-%s" % key, {}) 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] return [key_setting, minify]
def _handle(self, method): def _handle(self, method):