Update commandManager.py
This commit is contained in:
parent
00af131493
commit
203266af18
@ -29,7 +29,7 @@ class commandManager():
|
|||||||
self.env['runtime']['commandManager'].shutdownCommands('onSwitchApplicationProfile')
|
self.env['runtime']['commandManager'].shutdownCommands('onSwitchApplicationProfile')
|
||||||
|
|
||||||
def loadCommands(self, section='commands'):
|
def loadCommands(self, section='commands'):
|
||||||
commandFolder = "commands/" + section +"/"
|
commandFolder = os.path.dirname(os.path.realpath(__main__.__file__)) + "/commands/" + section +"/"
|
||||||
commandList = glob.glob(commandFolder+'*')
|
commandList = glob.glob(commandFolder+'*')
|
||||||
for command in commandList:
|
for command in commandList:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user