diff --git a/lean/components/cloud/push_manager.py b/lean/components/cloud/push_manager.py index 083648c7..816b2550 100644 --- a/lean/components/cloud/push_manager.py +++ b/lean/components/cloud/push_manager.py @@ -252,6 +252,8 @@ def _push_metadata(self, project: Path, cloud_project: QCProject, encryption_act if update_args != {}: self._api_client.projects.update(cloud_project.projectId, **update_args) + if "encryption_key" in update_args: + del update_args["encryption_key"] updated_keys = list(update_args) if len(updated_keys) == 1: updated_keys_str = updated_keys[0]