just a precaution (now i really need to go for a sleep)

This commit is contained in:
Miroslav Stampar 2010-11-09 23:38:29 +00:00
parent 88c00e61d3
commit 19c1bfa368

View File

@ -114,8 +114,9 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
elif ratio == 1: elif ratio == 1:
return True return True
# If the url is not stable it returns sequence matcher between the elif conf.matchRatio is None:
# first untouched HTTP response page content and this content return None
else: else:
if conf.matchRatio == CONSTANT_RATIO or conf.thold: if conf.matchRatio == CONSTANT_RATIO or conf.thold:
return ratio > conf.matchRatio return ratio > conf.matchRatio