From b38bf77c57f33875d75142169e4878d3972aa058 Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Tue, 22 Nov 2022 22:14:22 +1000 Subject: [PATCH] test tupple --- bot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 3c92122..f2d9544 100644 --- a/bot.py +++ b/bot.py @@ -116,8 +116,11 @@ async def send_time(message: types.Message): Session = sessionmaker(bind=engine) session = Session() Base = declarative_base() + for user_fullname, dick_size in session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all(): - await bot.send_message(message.chat.id, f'{user_fullname} {dick_size}\n') + a = user_fullname, dick_size + b = ''.join(a[0]) + await bot.send_message(message.chat.id, f'{b}\n') session.close_all()