[Dependencies] Fixed repeated dependencies when plug-in dir available

This commit is contained in:
Salvador E. Tropea 2022-07-09 16:28:20 -03:00
parent 6ff6fcc975
commit e8a20ef362
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,6 @@ def _import(name, path):
def _load_actions(path, load_internals=False):
try_register_deps(dep_downloader, 'global')
logger.debug("Importing from "+path)
lst = glob(os.path.join(path, 'out_*.py')) + glob(os.path.join(path, 'pre_*.py'))
lst += glob(os.path.join(path, 'var_*.py')) + glob(os.path.join(path, 'fil_*.py'))
@ -93,6 +92,7 @@ def load_actions():
if actions_loaded:
return
actions_loaded = True
try_register_deps(dep_downloader, 'global')
from kibot.mcpyrate import activate
# activate.activate()
_load_actions(os.path.abspath(os.path.dirname(__file__)), True)