mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-03 19:14:51 +00:00
Update pypi_search.py
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
This commit is contained in:
parent
335b44707d
commit
d96fe05686
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ 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)
|
||||
except MessageToolong:
|
||||
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}")
|
||||
except Exception as err:
|
||||
|
|
|
|||
Loading…
Reference in a new issue