diff --git a/src/fenrir-package/fenrir.py b/src/fenrir-package/fenrir.py index fd02d13b..2e5d5bb7 100755 --- a/src/fenrir-package/fenrir.py +++ b/src/fenrir-package/fenrir.py @@ -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):