Import plugins sorted

- More reproducible
- Should help to avoid random changes in kibot-check
This commit is contained in:
Salvador E. Tropea 2022-06-11 09:29:18 -03:00
parent 68456a0032
commit 25a204da3f
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ def _load_actions(path, load_internals=False):
lst += glob(os.path.join(path, 'var_*.py')) + glob(os.path.join(path, 'fil_*.py'))
if load_internals:
lst += [os.path.join(path, 'globals.py')]
for p in lst:
for p in sorted(lst):
name = os.path.splitext(os.path.basename(p))[0]
logger.debug("- Importing "+name)
_import(name, p)