a chain has failed to generate if the result is the same as the input
This commit is contained in:
parent
51a4a4253c
commit
87a7d74fc3
1 changed files with 3 additions and 0 deletions
|
@ -167,4 +167,7 @@ class Module(ModuleManager.BaseModule):
|
|||
break
|
||||
words.append(third_word)
|
||||
|
||||
if words == first_words:
|
||||
return None
|
||||
|
||||
return " ".join(words)
|
||||
|
|
Loading…
Reference in a new issue