Markov: bugfix in the anti-address chaining

This commit is contained in:
Brian S. Stephan 2012-07-29 17:53:56 -05:00
parent b327bcab71
commit bf850592df
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ class Markov(Module):
# if the first word is "foo:", start with the second
addressing_suffixes = [':', ',']
if gen_words[0][-1] in addressing_suffixes:
if new_chain_words[0][-1] in addressing_suffixes:
gen_words += new_chain_words[1:]
self.log.debug("appending following anti-address " \
"new_chain_words: {0:s}".format(new_chain_words[1:]))