mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-01 18:44:50 +00:00
Fix bad indentation (#298)
Signed-off-by: Furry Chemistry <84753790+aryazakaria01@users.noreply.github.com>
This commit is contained in:
parent
7bb610385d
commit
07a06ce14d
1 changed files with 3 additions and 3 deletions
|
|
@ -149,9 +149,9 @@ async def pypi_getdata(_, callback_query: CallbackQuery):
|
|||
)
|
||||
msg += f"<b>Keywords:</b> {res['info'].get('keywords', 'Unknown')}\n"
|
||||
try:
|
||||
await callback_query.message.edit_msg(msg, reply_markup=keyboard)
|
||||
await callback_query.message.edit_msg(msg, reply_markup=keyboard)
|
||||
except MessageTooLong:
|
||||
url = await post_to_telegraph(False, f"{pkgname}-detail", msg)
|
||||
await callback_query.message.edit_msg(f"Result is too long:\n{url}")
|
||||
url = await post_to_telegraph(False, f"{pkgname}-detail", msg)
|
||||
await callback_query.message.edit_msg(f"Result is too long:\n{url}")
|
||||
except Exception as err:
|
||||
await callback_query.message.edit_msg(f"ERROR: {err}", reply_markup=keyboard)
|
||||
|
|
|
|||
Loading…
Reference in a new issue