Do not use .keys()
This commit is contained in:
parent
d2229554a9
commit
3d4bfa7413
@ -136,7 +136,7 @@ class Backend:
|
||||
raise
|
||||
|
||||
# Check if the user is already present on mirage
|
||||
if client.user_id in self.clients.keys():
|
||||
if client.user_id in self.clients:
|
||||
await client.logout()
|
||||
return client.user_id
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user