added --ratio option for direct manipulation of conf.matchRatio parameter

This commit is contained in:
Miroslav Stampar
2010-08-10 19:53:29 +00:00
parent 02523dbfb5
commit 057ec8a6b2
3 changed files with 10 additions and 3 deletions

View File

@@ -79,8 +79,8 @@ def comparison(page, headers=None, getSeqMatcher=False):
logger.debug("setting match ratio to default value 0.900")
conf.matchRatio = 0.900
if conf.matchRatio is not None:
setMatchRatio()
if conf.matchRatio is not None:
setMatchRatio()
# If it has been requested to return the ratio and not a comparison
# response