mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 01:54:53 +00:00
Reformat code
This commit is contained in:
parent
d41d38d49f
commit
088116e1c7
12 changed files with 18 additions and 19 deletions
|
|
@ -49,9 +49,9 @@ def get_keyboard() -> types.InlineKeyboardMarkup:
|
|||
|
||||
def format_post(post_id: str, post: dict) -> (str, types.InlineKeyboardMarkup):
|
||||
text = f"{md.hbold(post['title'])}\n" \
|
||||
f"{md.quote_html(post['body'])}\n" \
|
||||
f"\n" \
|
||||
f"Votes: {post['votes']}"
|
||||
f"{md.quote_html(post['body'])}\n" \
|
||||
f"\n" \
|
||||
f"Votes: {post['votes']}"
|
||||
|
||||
markup = types.InlineKeyboardMarkup()
|
||||
markup.row(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue