fix linting
This commit is contained in:
parent
d9e22c6ea8
commit
27828ec3c7
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ class MatrixClientPool:
|
||||||
)
|
)
|
||||||
|
|
||||||
# Check if login failed
|
# Check if login failed
|
||||||
if type(login_response) == LoginError:
|
if isinstance(login_response, LoginError):
|
||||||
logger.error(
|
logger.error(
|
||||||
f"Bot {account.id} | Failed to login: {login_response.message}"
|
f"Bot {account.id} | Failed to login: {login_response.message}"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue