fix recording nouns

i should not be allowed near a computer
This commit is contained in:
xfnw 2022-05-17 22:26:01 -04:00
parent 3e1c3dac5b
commit 9d9c9dcd34

View file

@ -40,7 +40,7 @@ async def rec(self, m):
), ),
["id"], ["id"],
) )
noch.insert(dict(word=w)) noch.insert(dict(word=get(words, w)))
async def getNoun(self, words, c): async def getNoun(self, words, c):
@ -127,6 +127,8 @@ async def genOut(self, noun):
elif coun >= shared.maxiter: elif coun >= shared.maxiter:
shared.enmul -= 1 shared.enmul -= 1
print(f"coun {coun} enmul {shared.enmul} maxiter {shared.maxiter}")
return out return out