mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
550e81d32d
commit
ba063383d6
|
@ -1054,8 +1054,8 @@ def html_poisoned(dictionary: [], twograms: {}) -> str:
|
||||||
pair_found = False
|
pair_found = False
|
||||||
if prev_wrd:
|
if prev_wrd:
|
||||||
# common word sequences
|
# common word sequences
|
||||||
if twograms.get(prev_wrd):
|
if twograms.get(prev_wrd) and \
|
||||||
if randint(1, 10) <= 7:
|
randint(1, 10) <= 7:
|
||||||
wrd = random.choice(twograms[prev_wrd])
|
wrd = random.choice(twograms[prev_wrd])
|
||||||
pair_found = True
|
pair_found = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue