avoiding some trashy match ratios

This commit is contained in:
Miroslav Stampar 2010-12-11 17:12:19 +00:00
parent d2a3e8f44f
commit 03447acc1d

View File

@ -93,7 +93,7 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
if conf.thold:
conf.matchRatio = conf.thold
elif kb.pageStable and ratio > 0.6 and ratio < 1:
elif kb.pageStable and ratio > 0.6 and ratio < 0.99:
conf.matchRatio = ratio
logger.debug("setting match ratio for current parameter to %.3f" % conf.matchRatio)