From 284395d4f543e60cf2e88b1efc12ab594d360d1d Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Sun, 12 Jan 2025 12:08:26 +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 21fcdee6..9fa4f878 100644 --- a/misskaty/plugins/pypi_search.py +++ b/misskaty/plugins/pypi_search.py @@ -50,7 +50,7 @@ async def pypi_s(_, ctx: Message): "Please add query after command. Ex: /pypi pyrogram", del_in=6 ) pesan = await ctx.reply_msg("⏳ Please wait, getting data from pypi..", quote=True) - html = await fetch.get(f"https://pypi.org/pypi/{pkgname}/json") + html = await fetch.get(f"https://pypi.org/pypi/{kueri}/json") if html.status_code != 200: return await pesan.edit_msg("Failed connect fo pypi server") res = html.json()