Format main.py with black

This commit is contained in:
latand 2025-11-05 12:17:21 +02:00
parent c3594795cd
commit b5ac2c0445

View file

@ -523,9 +523,7 @@ async def press_inline_button(
) )
if not target_message: if not target_message:
return ( return "No message with inline buttons found. Specify message_id to target a specific message."
"No message with inline buttons found. Specify message_id to target a specific message."
)
buttons_attr = getattr(target_message, "buttons", None) buttons_attr = getattr(target_message, "buttons", None)
if not buttons_attr: if not buttons_attr: