Increase minimum search score to prevent tons of false positives

Signed-off-by: Ivan Boothe <ivan@rootwork.org>
This commit is contained in:
Ivan Boothe 2021-10-25 20:21:13 -07:00
parent d225b02bc9
commit 3e31914eae

View file

@ -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)