Update commandManager.py
This commit is contained in:
parent
da97b14b12
commit
6b2b58bc74
@ -31,7 +31,7 @@ class commandManager():
|
|||||||
return environment
|
return environment
|
||||||
|
|
||||||
def executeTriggerCommands(self, environment, trigger):
|
def executeTriggerCommands(self, environment, trigger):
|
||||||
if environment['generalInformation ']['suspend']:
|
if environment['generalInformation']['suspend']:
|
||||||
return environment
|
return environment
|
||||||
for cmd in sorted(environment['commands'][trigger]):
|
for cmd in sorted(environment['commands'][trigger]):
|
||||||
try:
|
try:
|
||||||
@ -44,7 +44,7 @@ class commandManager():
|
|||||||
return environment
|
return environment
|
||||||
|
|
||||||
def executeCommand(self, environment, currCommand, section = 'commands'):
|
def executeCommand(self, environment, currCommand, section = 'commands'):
|
||||||
if environment['generalInformation ']['suspend']:
|
if environment['generalInformation']['suspend']:
|
||||||
return environment
|
return environment
|
||||||
if self.isCommandDefined(environment):
|
if self.isCommandDefined(environment):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user