diff --git a/app/build_containers.py b/app/build_containers.py index 3523dbc3..f1f37d90 100644 --- a/app/build_containers.py +++ b/app/build_containers.py @@ -27,8 +27,8 @@ import subprocess import click import importlib.resources from pathlib import Path -from .util import include_exclude_check, get_parsed_stack_config -from .base import get_npm_registry_url +from app.util import include_exclude_check, get_parsed_stack_config +from app.base import get_npm_registry_url # TODO: find a place for this # epilog="Config provided either in .env or settings.ini or env vars: CERC_REPO_BASE_DIR (defaults to ~/cerc)" diff --git a/app/data/stacks/mainnet-laconic/deploy/commands.py b/app/data/stacks/mainnet-laconic/deploy/commands.py index 5dfeed34..134167c1 100644 --- a/app/data/stacks/mainnet-laconic/deploy/commands.py +++ b/app/data/stacks/mainnet-laconic/deploy/commands.py @@ -13,7 +13,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -from util import get_yaml +from app.util import get_yaml default_spec_file_content = """config: node_moniker: my-node-name diff --git a/app/deployment_create.py b/app/deployment_create.py index 0dc6bd54..0a2033eb 100644 --- a/app/deployment_create.py +++ b/app/deployment_create.py @@ -96,7 +96,7 @@ def call_stack_deploy_init(stack): spec = util.spec_from_file_location("commands", python_file_path) imported_stack = util.module_from_spec(spec) spec.loader.exec_module(imported_stack) - return imported_stack.init() + return imported_stack.init(None) @click.command()