Fixed: When searching "editor" it gave "TikTok" by increasing name tollerance to 60%
This commit is contained in:
parent
ce183affc9
commit
8402645a14
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -41,7 +41,7 @@ def search_app(name):
|
|||
for i in all_apps:
|
||||
for n in i.get("names",[]):
|
||||
m = similar(n.lower(), name.lower())
|
||||
if m > match and m > 0.49:
|
||||
if m > match and m > 0.6:
|
||||
closest = i
|
||||
match = m
|
||||
|
||||
|
|
Loading…
Reference in a new issue