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:
		
							parent
							
								
									6ebca3ff59
								
							
						
					
					
						commit
						436fcd1132
					
				| @ -37,7 +37,7 @@ class MegaHAL(Module): | |||||||
| 
 | 
 | ||||||
|         try: |         try: | ||||||
|             filename = self.config.get(self.__class__.__name__, 'brainfile') |             filename = self.config.get(self.__class__.__name__, 'brainfile') | ||||||
|             self.megahal = megahal.MegaHAL(None, filename) |             self.megahal = megahal.MegaHAL(None, filename, 5) | ||||||
|         except NoOptionError: |         except NoOptionError: | ||||||
|             self.megahal = megahal.MegaHAL() |             self.megahal = megahal.MegaHAL() | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user