Skip to content

Commit ce38816

Browse files
committed
Add missing force parameter in recursive _push_project call
1 parent 98f512e commit ce38816

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lean/components/cloud/push_manager.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def _push_project(self, project_path: Path, organization_id: str, encryption_act
148148
if cloud_project.name != project_name:
149149
# cloud project name was changed. Repeat steps to validate the new name locally.
150150
self._logger.info(f"Received new name '{cloud_project.name}' for project '{project_name}' from QuantConnect.com")
151-
self._push_project(project_path, organization_id, encryption_action, encryption_key, Path.cwd() / cloud_project.name)
151+
self._push_project(project_path, organization_id, encryption_action, encryption_key, force, Path.cwd() / cloud_project.name)
152152
return
153153

154154
self._cloud_projects.append(cloud_project)
@@ -256,7 +256,6 @@ def _push_metadata(self, project: Path, cloud_project: QCProject, encryption_act
256256

257257
if not force:
258258
update_args["code_source_id"] = "cli"
259-
260259
if update_args != {}:
261260
self._api_client.projects.update(cloud_project.projectId, **update_args)
262261

0 commit comments

Comments
 (0)