Remove copy-pasted ":" (rest_api.py)
This commit is contained in:
parent
2691fa52e6
commit
a3a75f3480
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue