From b8fe1e237e840f8f700bd3f33a73eddfb44126af Mon Sep 17 00:00:00 2001 From: shenjackyuanjie <3695888@qq.com> Date: Mon, 7 Feb 2022 23:03:42 +0800 Subject: [PATCH] =?UTF-8?q?False=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Difficult_Rocket/command/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Difficult_Rocket/command/api.py b/Difficult_Rocket/command/api.py index cf7ea1c..49c1f09 100644 --- a/Difficult_Rocket/command/api.py +++ b/Difficult_Rocket/command/api.py @@ -27,7 +27,7 @@ class CommandText: self.value_dict = {} self.value_list = [] - def find(self, text: str) -> Union[str, False]: + def find(self, text: str) -> Union[str, bool]: finding = re.match(text, self.text) if finding: return finding.group()