From 054d1d0d50f29fe491340400a27066827983543d Mon Sep 17 00:00:00 2001 From: benya Date: Sun, 8 Feb 2026 02:26:50 +0300 Subject: [PATCH] Fix NPMplus button f-string --- handlers/system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/system.py b/handlers/system.py index e96dab1..c4af522 100644 --- a/handlers/system.py +++ b/handlers/system.py @@ -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}" ) ])