a chain has failed to generate if the result is the same as the input

This commit is contained in:
jesopo 2019-10-09 17:54:28 +01:00
parent 51a4a4253c
commit 87a7d74fc3

View file

@ -167,4 +167,7 @@ class Module(ModuleManager.BaseModule):
break
words.append(third_word)
if words == first_words:
return None
return " ".join(words)