Do not use .keys()

This commit is contained in:
vslg 2020-06-29 09:07:40 -03:00 committed by miruka
parent d2229554a9
commit 3d4bfa7413

View File

@ -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