Archived
style: reformat handlers and UI for readability
This commit is contained in:
@@ -108,7 +108,9 @@ async def plugins_handler(callback: CallbackQuery) -> None:
|
||||
else:
|
||||
text = "<b>📁 Плагины ASF:</b>\n\n"
|
||||
for plugin in plugins:
|
||||
text += f"{plugin.get('Name', '???')} ({plugin.get('Version', '???')})\n"
|
||||
text += (
|
||||
f"{plugin.get('Name', '???')} ({plugin.get('Version', '???')})\n"
|
||||
)
|
||||
await callback.message.edit_text(text.strip(), reply_markup=back_keyboard()) # type: ignore[union-attr]
|
||||
except Exception as error:
|
||||
await callback.message.edit_text(f"Ошибка: {error}") # type: ignore[union-attr]
|
||||
|
||||
Reference in New Issue
Block a user