diff --git a/modules/Markov.py b/modules/Markov.py index b35e8f7..258d57c 100644 --- a/modules/Markov.py +++ b/modules/Markov.py @@ -412,7 +412,7 @@ class Markov(Module): if sentence_end[-1] not in eos_punctuation: random.shuffle(eos_punctuation) gen_words[-1] = sentence_end + eos_punctuation.pop() - self.log.debug("monkeyed with end of sentence, it's now: {0:s}".format(gen_words[:-1])) + self.log.debug("monkeyed with end of sentence, it's now: {0:s}".format(gen_words[-1])) new_chain_words = [] # new word 1