Reformat code

This commit is contained in:
Nikita 2019-03-24 00:15:09 +05:00
parent d41d38d49f
commit 088116e1c7
12 changed files with 18 additions and 19 deletions

View file

@ -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(