From 6b2b58bc74bfc3aeb6bf9b6c94c5ec7c2db316c4 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 30 Aug 2016 15:47:10 +0200 Subject: [PATCH] Update commandManager.py --- src/fenrir-package/core/commandManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fenrir-package/core/commandManager.py b/src/fenrir-package/core/commandManager.py index b4909e1a..977f8101 100644 --- a/src/fenrir-package/core/commandManager.py +++ b/src/fenrir-package/core/commandManager.py @@ -31,7 +31,7 @@ class commandManager(): return environment def executeTriggerCommands(self, environment, trigger): - if environment['generalInformation ']['suspend']: + if environment['generalInformation']['suspend']: return environment for cmd in sorted(environment['commands'][trigger]): try: @@ -44,7 +44,7 @@ class commandManager(): return environment def executeCommand(self, environment, currCommand, section = 'commands'): - if environment['generalInformation ']['suspend']: + if environment['generalInformation']['suspend']: return environment if self.isCommandDefined(environment): try: