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