provide timeout to the megahal system, so that the bot doesn't spin forever on a reply

not that that just happened or anything
This commit is contained in:
Brian S. Stephan 2010-11-03 22:50:34 -05:00
parent 6ebca3ff59
commit 436fcd1132
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class MegaHAL(Module):
try:
filename = self.config.get(self.__class__.__name__, 'brainfile')
self.megahal = megahal.MegaHAL(None, filename)
self.megahal = megahal.MegaHAL(None, filename, 5)
except NoOptionError:
self.megahal = megahal.MegaHAL()