mirror of
https://github.com/paul-nameless/tg
synced 2024-11-26 05:40:17 +00:00
Remove useless enumerate
This commit is contained in:
parent
73d8067f53
commit
6982b5aaff
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ class Controller:
|
|||
# do not notify, if muted
|
||||
# TODO: optimize
|
||||
chat = None
|
||||
for i, chat in enumerate(self.model.chats.chats):
|
||||
for chat in self.model.chats.chats:
|
||||
if chat_id == chat["id"]:
|
||||
chat = chat
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue