Commit 95a9114b authored by Ralf's avatar Ralf

Don't sleep so long waiting for Eliza

parent 4505d7ff
......@@ -12,7 +12,7 @@ class Extern (Npc):
def analyzeAnswer(self, teller, verb, message):
answer = read_timeout(self.proc.stdout, 512, 1.1).strip()
answer = read_timeout(self.proc.stdout, 512, 0.1).strip()
return ("say", "I am speachless." if answer is None else answer.decode('utf-8'), None)
def __del__(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment