Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19c1bfa

Browse files
committed
just a precaution (now i really need to go for a sleep)
1 parent 88c00e6 commit 19c1bfa

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/request/comparison.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ def comparison(page, headers=None, getSeqMatcher=False, pageLength=None):
114114
elif ratio == 1:
115115
return True
116116

117-
# If the url is not stable it returns sequence matcher between the
118-
# first untouched HTTP response page content and this content
117+
elif conf.matchRatio is None:
118+
return None
119+
119120
else:
120121
if conf.matchRatio == CONSTANT_RATIO or conf.thold:
121122
return ratio > conf.matchRatio

0 commit comments

Comments
 (0)