False!
This commit is contained in:
parent
7c41c25e72
commit
b8fe1e237e
@ -27,7 +27,7 @@ class CommandText:
|
|||||||
self.value_dict = {}
|
self.value_dict = {}
|
||||||
self.value_list = []
|
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)
|
finding = re.match(text, self.text)
|
||||||
if finding:
|
if finding:
|
||||||
return finding.group()
|
return finding.group()
|
||||||
|
Loading…
Reference in New Issue
Block a user