Increase minimum search score to prevent tons of false positives
Signed-off-by: Ivan Boothe <ivan@rootwork.org>
This commit is contained in:
parent
d225b02bc9
commit
3e31914eae
2
main.py
2
main.py
|
@ -79,7 +79,7 @@ class KeywordQueryEventListener(EventListener):
|
|||
items = []
|
||||
arg = event.get_argument()
|
||||
if arg:
|
||||
result_list = SortedList(arg, min_score=40, limit=10)
|
||||
result_list = SortedList(arg, min_score=99, limit=10)
|
||||
result_list.extend(extension.character_list)
|
||||
for char in result_list:
|
||||
image_path = get_character_icon(char)
|
||||
|
|
Loading…
Reference in a new issue