diff --git a/docker/configuration.docker.py b/docker/configuration.docker.py index 3a4d2a2..a47c353 100644 --- a/docker/configuration.docker.py +++ b/docker/configuration.docker.py @@ -53,7 +53,7 @@ with scandir(_CONFIG_DIR) as it: if f.name == f'{_MAIN_CONFIG}.py': continue - module_name = f"{_MODULE}.{f.name[:-len('.py')]}" + module_name = f"{_MODULE}.{f.name[:-len('.py')]}".replace(".", "_") _import(module_name, f.path) diff --git a/docker/ldap_config.docker.py b/docker/ldap_config.docker.py index 601ba71..7248195 100644 --- a/docker/ldap_config.docker.py +++ b/docker/ldap_config.docker.py @@ -53,7 +53,7 @@ with scandir(_CONFIG_DIR) as it: if f.name == f'{_MAIN_CONFIG}.py': continue - module_name = f"{_MODULE}.{f.name[:-len('.py')]}" + module_name = f"{_MODULE}.{f.name[:-len('.py')]}".replace(".", "_") _import(module_name, f.path)