fix threshold not applied to python fuzzymap

This commit is contained in:
2025-11-07 15:03:40 -06:00
parent 9cebf427f8
commit a10ff70c50

View File

@@ -208,7 +208,7 @@ class FuzzyMap:
best_key = ""
for key in self.map.keys():
score = similar(key, fuzzy_key)
if score > best_score:
if score > best_score and score > self.threshold:
best_score = score
best_key = key