fix linting

This commit is contained in:
HgO 2024-01-22 11:50:09 +01:00
parent d9e22c6ea8
commit 27828ec3c7

View file

@ -190,7 +190,7 @@ class MatrixClientPool:
)
# Check if login failed
if type(login_response) == LoginError:
if isinstance(login_response, LoginError):
logger.error(
f"Bot {account.id} | Failed to login: {login_response.message}"
)