Skip to content

Commit

Permalink
Update pypi_search.py
Browse files Browse the repository at this point in the history
Signed-off-by: Yasir Aris M <[email protected]>
  • Loading branch information
yasirarism authored Jan 12, 2025
1 parent 340fa29 commit 41cfc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misskaty/plugins/pypi_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 41cfc85

Please sign in to comment.