test dictт

This commit is contained in:
Pavel_Duron 2022-11-23 00:21:15 +10:00
parent f942001b8d
commit 2c58165984

5
bot.py
View File

@ -120,10 +120,7 @@ async def send_time(message: types.Message):
a = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all() a = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all()
b = dict(a) b = dict(a)
await bot.send_essage(message.chat.id,f'{a}')
for key in b:
top = f"{key}: {str(b[key]).replace('[', '').replace(']', '')}"
await bot.send_message(message.chat.id, f'{top}')
session.close_all() session.close_all()