Fix NPMplus button f-string
This commit is contained in:
@@ -278,8 +278,8 @@ async def npmplus_hosts(msg: Message):
|
||||
action = "disable" if enabled else "enable"
|
||||
rows.append([
|
||||
InlineKeyboardButton(
|
||||
text=f\"{('⛔' if enabled else '✅')} {name[:12]}\",
|
||||
callback_data=f\"npmplus:{action}:{hid}\"
|
||||
text=f"{('⛔' if enabled else '✅')} {name[:12]}",
|
||||
callback_data=f"npmplus:{action}:{hid}"
|
||||
)
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user