summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvmd/clients/kvmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/clients/kvmd.py b/kvmd/clients/kvmd.py
index d78aedbd..39813af2 100644
--- a/kvmd/clients/kvmd.py
+++ b/kvmd/clients/kvmd.py
@@ -60,7 +60,7 @@ class _AuthApiPart(_BaseApiPart):
htclient.raise_not_200(response)
return True
except aiohttp.ClientResponseError as err:
- if err.status in [401, 403]:
+ if err.status in [400, 401, 403]:
return False
raise