diff options
| author | 2019-02-19 19:47:14 +0000 | |
|---|---|---|
| committer | 2019-02-19 19:47:14 +0000 | |
| commit | a3a75f34803e4dc1cdec56cf429d1637d517505d (patch) | |
| tree | 033074b2486a618b1e92a946fa7c8974c10d5126 /modules | |
| parent | Do database-related work on UI thread (rest_api.py) (diff) | |
| signature | ||
Remove copy-pasted ":" (rest_api.py)
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/rest_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
