Fix NPMplus button f-string

This commit is contained in:
2026-02-08 02:26:50 +03:00
parent 200b8104a6
commit 054d1d0d50

View File

@@ -278,8 +278,8 @@ async def npmplus_hosts(msg: Message):
action = "disable" if enabled else "enable" action = "disable" if enabled else "enable"
rows.append([ rows.append([
InlineKeyboardButton( InlineKeyboardButton(
text=f\"{('' if enabled else '')} {name[:12]}\", text=f"{('' if enabled else '')} {name[:12]}",
callback_data=f\"npmplus:{action}:{hid}\" callback_data=f"npmplus:{action}:{hid}"
) )
]) ])