We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a77d03 commit c5ce4a7Copy full SHA for c5ce4a7
1 file changed
fuzzymatcher/tokencomparison.py
@@ -41,7 +41,7 @@ def is_mispelling(self, token1, token2):
41
if max(t1f, t2f)/min(t1f, t2f) < self.number_fuzz_threshold:
42
return True
43
44
- except ValueError:
+ except (ValueError, ZeroDivisionError):
45
pass
46
47
0 commit comments