fix scriptkey
This commit is contained in:
parent
28fccf3a33
commit
6548519e2e
@ -93,7 +93,7 @@ class commandManager():
|
||||
fileName = fileName.split('/')[-1]
|
||||
if fileName.startswith('__'):
|
||||
continue
|
||||
if self.env['commands'][section][fileName.upper()]:
|
||||
if fileName.upper() in self.env['commands'][section]:
|
||||
continue
|
||||
command_mod = module_utils.importModule(fileName ,subCommand)
|
||||
self.env['commands'][section][fileName.upper()] = command_mod.command()
|
||||
|
Loading…
Reference in New Issue
Block a user