This commit is contained in:
levina 2021-11-14 16:35:27 +07:00 committed by GitHub
parent 144250d418
commit 6a7a1561e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ def del_chat(chat_id):
SESSION.commit()
def chatlists():
def chatdata():
global CHAT_ID
try:
CHAT_ID = {int(x.chat_id) for x in SESSION.query(Chats).all()}