Fixed: When searching "editor" it gave "TikTok" by increasing name tollerance to 60%

This commit is contained in:
jyamihud 2022-04-02 10:25:54 +03:00
parent ce183affc9
commit 8402645a14
2 changed files with 1 additions and 1 deletions

View file

@ -41,7 +41,7 @@ def search_app(name):
for i in all_apps: for i in all_apps:
for n in i.get("names",[]): for n in i.get("names",[]):
m = similar(n.lower(), name.lower()) m = similar(n.lower(), name.lower())
if m > match and m > 0.49: if m > match and m > 0.6:
closest = i closest = i
match = m match = m