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

Skip to content

Commit 5fb8ae9

Browse files
committed
Fixes #1479
1 parent fbec463 commit 5fb8ae9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/request/comparison.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def _comparison(page, headers, code, getRatioValue, pageLength):
5353
if page is None and pageLength is None:
5454
return None
5555

56+
count = 0
57+
5658
seqMatcher = threadData.seqMatcher
5759
seqMatcher.set_seq1(kb.pageTemplate)
5860

@@ -122,7 +124,6 @@ def _comparison(page, headers, code, getRatioValue, pageLength):
122124
seq1 = seq1.replace(REFLECTED_VALUE_MARKER, "")
123125
seq2 = seq2.replace(REFLECTED_VALUE_MARKER, "")
124126

125-
count = 0
126127
while count < min(len(seq1), len(seq2)):
127128
if seq1[count] == seq2[count]:
128129
count += 1

0 commit comments

Comments
 (0)