From 066e8421b46c4841fda5a15e11a23edca68cb366 Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Tue, 15 Nov 2022 17:51:04 +1000 Subject: [PATCH] =?UTF-8?q?=D1=82=D0=BE=D0=BF=20=D0=BF=D0=B8=D0=BF=D0=B8?= =?UTF-8?q?=D1=81=20tets?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index f7646e0..b329e1d 100644 --- a/bot.py +++ b/bot.py @@ -112,7 +112,7 @@ async def send_time(message: types.Message): 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}') + await bot.send_message(message.chat.id, (user_fullname, dick_size)) session.close_all()