mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
3af17d26d3
commit
9b8fd052aa
@ -120,7 +120,8 @@ class Search():
|
|||||||
try:
|
try:
|
||||||
_definition = query['list'][0]['definition'].strip().replace(' ', ' ')
|
_definition = query['list'][0]['definition'].strip().replace(' ', ' ')
|
||||||
definition = re.sub(r"\[*\]*", "", _definition)
|
definition = re.sub(r"\[*\]*", "", _definition)
|
||||||
return str(searchdict["query"]) + " " + str(definition)
|
definition = re.findall('(\d\.[^\d]*)', definition)
|
||||||
|
return str(definition)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
definition = e
|
definition = e
|
||||||
return None
|
return None
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user