From f5fb583d573c9b7cc39c6488c238c4d6366fb8a4 Mon Sep 17 00:00:00 2001 From: Changhua Date: Thu, 14 Dec 2023 12:41:47 +0800 Subject: [PATCH] Reformat --- constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/constants.py b/constants.py index 3c64090..87c6c50 100644 --- a/constants.py +++ b/constants.py @@ -13,11 +13,11 @@ class ChatType(IntEnum): @staticmethod def is_in_chat_types(chat_type: int) -> bool: if chat_type in [ChatType.TIGER_BOT.value, ChatType.CHATGPT.value, - ChatType.XINGHUO_WEB.value, ChatType.CHATGLM.value,ChatType.BardAssistant.value]: + ChatType.XINGHUO_WEB.value, ChatType.CHATGLM.value, + ChatType.BardAssistant.value]: return True return False @staticmethod def help_hint() -> str: return str({member.value: member.name for member in ChatType}).replace('{', '').replace('}', '') -