add timeout back
This commit is contained in:
parent
5f20bf7b99
commit
0788db5a8c
@ -50,7 +50,7 @@ class fenrir():
|
|||||||
|
|
||||||
def handleCommands(self):
|
def handleCommands(self):
|
||||||
if (self.environment['commandInfo']['currCommand'] != '') and \
|
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')
|
self.environment = self.environment['runtime']['commandManager'].executeCommand(self.environment, self.environment['commandInfo']['currCommand'], 'commands')
|
||||||
|
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user