From 07a06ce14dcae39a62821752464d5b30aaf8980b Mon Sep 17 00:00:00 2001 From: Furry Chemistry <84753790+aryazakaria01@users.noreply.github.com> Date: Sun, 30 Jun 2024 18:06:21 +0700 Subject: [PATCH] Fix bad indentation (#298) Signed-off-by: Furry Chemistry <84753790+aryazakaria01@users.noreply.github.com> --- misskaty/plugins/pypi_search.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misskaty/plugins/pypi_search.py b/misskaty/plugins/pypi_search.py index d490ca2e..422a4167 100644 --- a/misskaty/plugins/pypi_search.py +++ b/misskaty/plugins/pypi_search.py @@ -149,9 +149,9 @@ async def pypi_getdata(_, callback_query: CallbackQuery): ) msg += f"Keywords: {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)