add timeout back

This commit is contained in:
chrys 2016-07-17 16:32:58 +02:00
parent 5f20bf7b99
commit 0788db5a8c

View File

@ -50,7 +50,7 @@ class fenrir():
def handleCommands(self):
if (self.environment['commandInfo']['currCommand'] != '') and \
time.time() - environment['commandInfo']['lastCommandTime'] > 0.01:
(time.time() - self.environment['commandInfo']['lastCommandTime'] >= 0.01):
self.environment = self.environment['runtime']['commandManager'].executeCommand(self.environment, self.environment['commandInfo']['currCommand'], 'commands')
def shutdown(self):