From 41cfc85bc137ffee2870bb0a38cb7b9eb3cef548 Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Sun, 12 Jan 2025 12:06:54 +0700 Subject: [PATCH] Update pypi_search.py Signed-off-by: Yasir Aris M --- misskaty/plugins/pypi_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misskaty/plugins/pypi_search.py b/misskaty/plugins/pypi_search.py index 89d4d1c641..21fcdee6ce 100644 --- a/misskaty/plugins/pypi_search.py +++ b/misskaty/plugins/pypi_search.py @@ -83,7 +83,7 @@ async def pypi_s(_, ctx: Message): try: await pesan.edit_msg(msg, reply_markup=keyboard) except MessageTooLong: - url = await post_to_telegraph(False, f"{pkgname}-detail", msg) + url = await post_to_telegraph(False, f"{res['info'].get('name')} {res['info'].get('version', None)}-detail", msg) await pesan.edit_msg(f"Result is too long:\n{url}", reply_markup=keyboard)