This commit is contained in:
Miroslav Stampar 2011-06-17 17:12:47 +00:00
parent 043f2f92c1
commit 0c9fa5c550

View File

@ -98,7 +98,7 @@ def comparison(page, getRatioValue=False, pageLength=None):
seqMatcher.set_seq2(seq2)
if seq1 is None or seq2 is None:
ratio = None
return None
else:
ratio = round(seqMatcher.quick_ratio(), 3)