Skip to content

Commit

Permalink
fix: missed project_config in download/generate
Browse files Browse the repository at this point in the history
  • Loading branch information
Romazes committed Sep 25, 2024
1 parent 41f86a5 commit c453d01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lean/commands/data/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ def download(ctx: Context,
logger = container.logger
lean_config = container.lean_config_manager.get_complete_lean_config(None, None, None)

engine_image, container_module_version = container.manage_docker_image(image, update, no_update)
engine_image, container_module_version, project_config = container.manage_docker_image(image, update, no_update)

data_downloader_provider = config_build_for_name(lean_config, data_downloader_provider.get_name(),
cli_data_downloaders, kwargs, logger, interactive=True)
Expand Down
2 changes: 1 addition & 1 deletion lean/commands/data/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def generate(start: datetime,
}
}

engine_image, container_module_version = container.manage_docker_image(image, update, no_update=False)
engine_image, container_module_version, project_config = container.manage_docker_image(image, update, no_update=False)

success = container.docker_manager.run_image(engine_image, **run_options)
if not success:
Expand Down

0 comments on commit c453d01

Please sign in to comment.