From afe75f6848c07c82ba4d35b22a1fbe12ecd342ba Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Mon, 29 Nov 2021 17:47:44 +0100 Subject: [PATCH] Fixed custom scripts --- src/cpl_cli/source_creator/library_builder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpl_cli/source_creator/library_builder.py b/src/cpl_cli/source_creator/library_builder.py index 709ff144..1db56157 100644 --- a/src/cpl_cli/source_creator/library_builder.py +++ b/src/cpl_cli/source_creator/library_builder.py @@ -39,12 +39,12 @@ class LibraryBuilder: project_json.close() @classmethod - def _create_workspace(cls, path: str, project_name, projects: dict): + def _create_workspace(cls, path: str, project_name, projects: dict, scripts: dict): ws_dict = { WorkspaceSettings.__name__: { WorkspaceSettingsNameEnum.default_project.value: project_name, WorkspaceSettingsNameEnum.projects.value: projects, - WorkspaceSettingsNameEnum.scripts.value: {} + WorkspaceSettingsNameEnum.scripts.value: scripts, } }