Skip to content

Commit

Permalink
Position a-b --autopull
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Jul 25, 2018
1 parent 5694610 commit 2b6c328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion findspam.py
Original file line number Diff line number Diff line change
Expand Up @@ -1644,6 +1644,6 @@ def generate_why(compiled_regex, matched_text, type_of_text, is_regex_check):
for match in matches:
span = match.span()
group = match.group().replace("\n", "")
why_for_matches.append(u"Position {}-{}: {}".format(span[0] + 1, span[1] + 1, group))
why_for_matches.append(u"Position {}-{}: {}".format(span[0] + 1, span[1], group))
return type_of_text + u" - " + ", ".join(why_for_matches)
return ""

0 comments on commit 2b6c328

Please sign in to comment.