diff options
author | Devaev Maxim <[email protected]> | 2018-12-13 00:46:43 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-12-13 00:46:43 +0300 |
commit | d92e2e2d1ba844e6acfcc9629c7b5f4781eac9b3 (patch) | |
tree | 81a761ec5fcae800201ca1bb3db0bf783cd42b1a /kvmd | |
parent | 014884f9ace5364cf8ebe70d558d1ad6b82867b2 (diff) |
lint fix
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/apps/kvmd/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/kvmd/server.py b/kvmd/apps/kvmd/server.py index 5a0f0758..d4e3fc32 100644 --- a/kvmd/apps/kvmd/server.py +++ b/kvmd/apps/kvmd/server.py @@ -47,7 +47,7 @@ def _system_task(method: Callable) -> Callable: def _json(result: Optional[Dict]=None, status: int=200) -> aiohttp.web.Response: return aiohttp.web.Response( text=json.dumps({ - "ok": (True if status == 200 else False), + "ok": (status == 200), "result": (result or {}), }, sort_keys=True, indent=4), status=status, |