Fix bad indentation (#298)

Signed-off-by: Furry Chemistry <84753790+aryazakaria01@users.noreply.github.com>
This commit is contained in:
Furry Chemistry 2024-06-30 18:06:21 +07:00 committed by GitHub
parent 7bb610385d
commit 07a06ce14d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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