mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -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 = query['list'][0]['definition'].strip().replace(' ', ' ')
|
||||||
definition = re.sub(r"\[*\]*", "", _definition)
|
definition = re.sub(r"\[*\]*", "", _definition)
|
||||||
definition = re.findall('(\d\.[^\d]*)', definition)
|
definition = re.findall('(\d\.[^\d]*)', definition)
|
||||||
return str(definition)
|
return str(definition[0])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
definition = e
|
definition = e
|
||||||
return None
|
return None
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user