From 3c1405a786fad244ba3b17eb2ee238ce83f23625 Mon Sep 17 00:00:00 2001 From: chrys Date: Wed, 12 Jul 2017 23:36:41 +0200 Subject: [PATCH] fix typo --- src/fenrir/core/commandManager.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fenrir/core/commandManager.py b/src/fenrir/core/commandManager.py index 8986dffd..3feadce9 100644 --- a/src/fenrir/core/commandManager.py +++ b/src/fenrir/core/commandManager.py @@ -190,6 +190,7 @@ class commandManager(): self.runCommand(command, section) except Exception as e: self.env['runtime']['debug'].writeDebugOut("Executing command:" + section + "." + command +' ' + str(e),debug.debugLevel.ERROR) + def runCommand(self, command, section = 'commands'): if self.commandExists(command, section): @@ -207,7 +208,9 @@ class commandManager(): return self.env['commands'][section][command].getDescription() except Exception as e: self.env['runtime']['debug'].writeDebugOut('commandManager.getCommandDescription:' + str(e),debug.debugLevel.ERROR) - + self.clearCommandQueued() + self.env['commandInfo']['lastCommandExecutionTime'] = time.time() + def isCommandQueued(self): return self.env['commandInfo']['currCommand'] != ''