From ac3dc9dfc6689642d703c65fd5c70425c6760a38 Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Tue, 15 Nov 2022 18:03:19 +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 e8b18f6..8fa236f 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(): - vocab = dict({user_fullname: dick_size}) + vocab = dict({'1': user_fullname, '-': dick_size}) await bot.send_message(message.chat.id, f'{vocab}') session.close_all()