fix make first plugin ready
This commit is contained in:
parent
7c0c1b4bf1
commit
68361e0681
@ -8,7 +8,12 @@ class commandManager():
|
|||||||
def executeCommand(self, environment):
|
def executeCommand(self, environment):
|
||||||
print(environment['commandInfo']['currCommand'])
|
print(environment['commandInfo']['currCommand'])
|
||||||
if self.isCommandDefined(environment):
|
if self.isCommandDefined(environment):
|
||||||
environment['commands'][environment['commandInfo']['currCommand']].run(environment)
|
try:
|
||||||
|
environ = environment['commands'][environment['commandInfo']['currCommand']].run(environment)
|
||||||
|
if environ != None:
|
||||||
|
environment = environ
|
||||||
|
exept:
|
||||||
|
pass
|
||||||
environment['commandInfo']['currCommand'] = ''
|
environment['commandInfo']['currCommand'] = ''
|
||||||
return environment
|
return environment
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user