From 11bfca7083942845c126f1ca2abda46a98474d63 Mon Sep 17 00:00:00 2001 From: Bayram Annakov Date: Fri, 26 Dec 2025 13:51:20 -0800 Subject: [PATCH] style: apply black formatting to match project standards --- main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 515c58a..dee671a 100644 --- a/main.py +++ b/main.py @@ -944,9 +944,7 @@ async def list_chats(chat_type: str = None, limit: int = 20) -> str: # Also check unread_mark (manual "mark as unread" flag) inner_dialog = getattr(dialog, "dialog", None) unread_mark = ( - bool(getattr(inner_dialog, "unread_mark", False)) - if inner_dialog - else False + bool(getattr(inner_dialog, "unread_mark", False)) if inner_dialog else False ) if unread_count > 0: @@ -955,7 +953,7 @@ async def list_chats(chat_type: str = None, limit: int = 20) -> str: chat_info += ", Unread: marked" else: chat_info += ", No unread messages" - + results.append(chat_info) if not results: