style: reformat handlers and UI for readability

This commit is contained in:
2026-07-22 18:50:10 +05:00
parent 04f17ff8e2
commit e4de501472
10 changed files with 89 additions and 32 deletions
+4 -3
View File
@@ -92,7 +92,8 @@ async def render_inventory_page(
text = (
f"📦 {inv_name} Inventory {bot_name}\n"
f"📄 Страница {page + 1}/{total_pages}\n\n"
f"{stats}\n\n"
+ "\n".join(lines)
f"{stats}\n\n" + "\n".join(lines)
)
return text[:4000], inventory_page_keyboard(
inventory_type, bot_name, page, total_pages
)
return text[:4000], inventory_page_keyboard(inventory_type, bot_name, page, total_pages)