Skip to content

Commit

Permalink
fix: Update jellyfish method name following major version change
Browse files Browse the repository at this point in the history
  • Loading branch information
cetteup committed Nov 3, 2023
1 parent f32891a commit eb40211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BF2AutoSpectator/common/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,4 +453,4 @@ def run_conman(args: List[str]) -> None:


def is_similar_str(a: str, b: str, threshold: float = .8) -> bool:
return jellyfish.jaro_distance(a, b) >= threshold
return jellyfish.jaro_similarity(a, b) >= threshold

0 comments on commit eb40211

Please sign in to comment.