summaryrefslogtreecommitdiff
path: root/kvmd/apps
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/apps')
-rw-r--r--kvmd/apps/kvmd/server.py2
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,