diff --git a/src/fenrir-package/fenrir.py b/src/fenrir-package/fenrir.py index 77144e6b..fd02d13b 100755 --- a/src/fenrir-package/fenrir.py +++ b/src/fenrir-package/fenrir.py @@ -49,7 +49,8 @@ class fenrir(): time.sleep(0.5) def handleCommands(self): - if (self.environment['commandInfo']['currCommand'] != ''): + if (self.environment['commandInfo']['currCommand'] != '') and \ + time.time() - environment['commandInfo']['lastCommandTime'] > 0.01: self.environment = self.environment['runtime']['commandManager'].executeCommand(self.environment, self.environment['commandInfo']['currCommand'], 'commands') def shutdown(self):