fix text
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron 2022-11-18 18:44:24 +10:00
parent 29ced2a4a4
commit 8ad2cf8287

3
bot.py
View File

@ -117,8 +117,7 @@ async def send_time(message: types.Message):
session = Session() session = Session()
Base = declarative_base() 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(): 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({'1': user_fullname, '-': dick_size}) await bot.send_message(message.chat.id, f'{user_fullname} {dick_size}\n')
await bot.send_message(message.chat.id, f'{vocab}')
session.close_all() session.close_all()