From 978d1b8231470fccedf78345a7626c5ec2595826 Mon Sep 17 00:00:00 2001 From: xfnw Date: Tue, 5 Oct 2021 00:40:13 -0400 Subject: [PATCH] remove extra newline --- modules/nlp.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/nlp.py b/modules/nlp.py index 6f22f7b..9197168 100644 --- a/modules/nlp.py +++ b/modules/nlp.py @@ -66,7 +66,6 @@ async def genOut(self, noun): coun += 1 iter = 0 while (end.find_one(word=out[-1]) is None or nouns.count(word=out[-1])-1 > iter * shared.enmul) and iter < 7: - try: out.append(random.choice(list(prew.find(pre=out[-1])))['pro']) except IndexError: